[swift-evolution] [Review] SE-0022: Referencing the Objective-C selector of a method
james at supmenow.com
Fri Jan 22 17:20:18 CST 2016
Just wanting to know when swift uses @, when its # and when its just a
*james at supmenow.com <james at supmenow.com>⎥supmenow.com <http://supmenow.com>*
*Runway East *
*10 Finsbury Square*
* EC2A 1AF *
On Fri, Jan 22, 2016 at 10:36 PM, Chris Lattner <clattner at apple.com> wrote:
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution