[swift-evolution] Proposal: Allow @available(*, unavailble) to getter or setter.

Kevin Lundberg kevin at klundberg.com
Sat Jan 30 13:42:01 CST 2016

+1. I'd also like @available to be available (har har) on stored
properties in addition to computed ones. If that's not really in the
scope for a proposal about @available get/sets I can start a new thread
on it (unless it's simply considered a bug or limitation today).

On 1/30/2016 8:29 AM, Hoon H. via swift-evolution wrote:
> Sometimes people want to prevent accessing getter/setter method
> individually. I think putting `@available(*,unavailable)` attribute to
> getter or setter would help those people with minimal effect. How do
> you think about this?
> — Hoon H.
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160130/82bf96a5/attachment.html>

More information about the swift-evolution mailing list