Re: @-directives
Re: @-directives
- Subject: Re: @-directives
- From: Charles Srstka <email@hidden>
- Date: Thu, 08 Mar 2012 18:54:42 -0600
On Mar 8, 2012, at 5:14 PM, Thomas Davie wrote:
> Not that I know of off the top of my head, but here's my attempt at such a list:
>
> @class
> @interface
> @implementation
> @end
> @private
> @public
> @protected
> @protocol
> @required
> @optional
> @property
> @synthesize
> @try
> @catch
> @finally
> @autoreleasepool
> @synchronized
>
> Have I missed your favourite out?
Don’t forget:
@“foo” to create strings
And if you’re using the latest SVN of Clang:
@( foo, bar ) to create arrays
@{ foo : bar } to create dictionaries
@12345(l)|(ul)|(ll), @123.45(f), @(YES)|(NO), @‘a' to create NSNumbers
Charles
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden