[swift-evolution] [Review] SE-0022: Referencing the Objective-C selector of a method

Chris Lattner clattner at apple.com
Fri Jan 22 16:36:47 CST 2016


> On Jan 22, 2016, at 2:03 PM, James Campbell <james at supmenow.com> wrote:
> 
> What about property attributes? how come some attributes don't have a @ like dynamic or lazy and others do like @objc.

I’m not sure what you’re asking.  We have a syntactic distinction between declaration modifiers and attributes, the later has an @, the former uses a context sensitive keyword.  We decide between the two based on how primal their effect is on the declaration.

-Chris



More information about the swift-evolution mailing list