[swift-evolution] [Mini-proposal] Require @nonobjc on members of @objc protocol extensions
clattner at apple.com
Wed Jan 6 12:48:00 CST 2016
On Jan 5, 2016, at 4:09 PM, Jordan Rose via swift-evolution <swift-evolution at swift.org> wrote:
>> We have some declaration modifiers (e.g., access-control modifiers) and attributes (e.g., availability) that distribute in this manner from the extension to its members. My only hesitation here is that @objc itself doesn’t distribute in this way, and I’d rather they not be inconsistent.
> I'd be much happier with this if we could do "@nonobjc extension", and I have no problems with "@objc extension" (even if it's rare). I suppose that would be a separate proposal.
I agree with Jordan on both points: would be useful, but should be a separate proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution