<div dir="ltr">Just wanting to know when swift uses @, when its # and when its just a normal keyword.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">
<p><b><font color="#cc0000">___________________________________</font></b></p><p><b>James⎥Lead Engineer</b></p><p><b><font color="#cc0000"><a href="mailto:james@supmenow.com" target="_blank">james@supmenow.com</a>⎥<a href="http://supmenow.com" target="_blank">supmenow.com</a></font></b></p><p><b><font size="2">Sup</font></b></p><p><b><font size="2">Runway East
</font></b></p><p><b><font size="2">10 Finsbury Square</font></b></p><p><b><font size="2">London</font></b></p><p><b><font size="2">
EC2A 1AF </font></b></p></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Jan 22, 2016 at 10:36 PM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On Jan 22, 2016, at 2:03 PM, James Campbell <<a href="mailto:james@supmenow.com">james@supmenow.com</a>> wrote:<br>
><br>
> What about property attributes? how come some attributes don't have a @ like dynamic or lazy and others do like @objc.<br>
<br>
</span>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.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Chris<br>
<br>
</font></span></blockquote></div><br></div>