[swift-evolution] Proposal: Allow @available(*, unavailble) to getter or setter.
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution