• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: @-directives
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >@-directives (From: "H. Miersch" <email@hidden>)
 >Re: @-directives (From: Thomas Davie <email@hidden>)

  • Prev by Date: String Constants the solution
  • Next by Date: Re: String Constants the solution
  • Previous by thread: Re: @-directives
  • Next by thread: Re: @-directives
  • Index(es):
    • Date
    • Thread