Re: @-directives
Re: @-directives
- Subject: Re: @-directives
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 09 Mar 2012 10:08:09 +0100
Le 9 mars 2012 à 03:55, Roland King a écrit :
> Good thinking ..
>
> OBJC1_AT_KEYWORD(not_keyword)
> OBJC1_AT_KEYWORD(class)
> OBJC1_AT_KEYWORD(compatibility_alias)
> OBJC1_AT_KEYWORD(defs)
> OBJC1_AT_KEYWORD(encode)
> OBJC1_AT_KEYWORD(end)
> OBJC1_AT_KEYWORD(implementation)
> OBJC1_AT_KEYWORD(interface)
> OBJC1_AT_KEYWORD(private)
> OBJC1_AT_KEYWORD(protected)
> OBJC1_AT_KEYWORD(protocol)
> OBJC1_AT_KEYWORD(public)
> OBJC1_AT_KEYWORD(selector)
> OBJC1_AT_KEYWORD(throw)
> OBJC1_AT_KEYWORD(try)
> OBJC1_AT_KEYWORD(catch)
> OBJC1_AT_KEYWORD(finally)
> OBJC1_AT_KEYWORD(synchronized)
> OBJC1_AT_KEYWORD(autoreleasepool)
>
> OBJC2_AT_KEYWORD(property)
> OBJC2_AT_KEYWORD(package)
> OBJC2_AT_KEYWORD(required)
> OBJC2_AT_KEYWORD(optional)
> OBJC2_AT_KEYWORD(synthesize)
> OBJC2_AT_KEYWORD(dynamic)
> OBJC2_AT_KEYWORD(__experimental_modules_import)
>
> So I missed compatibilty_alias, defs, encode, selector (!), try, finally and dynamic. Plus possibly not_keyword and __experimental_modules_import, whatever the heck they are.
Note that unlike other objc1 keywords, @def is not available in modern obj-c.
AFAIK, not_keyword is a token used internally by the compiler, and cannot be used in code and @__experimental_modules_import is an unfinished feature, and they want more time before deciding what syntax would be used.
-- Jean-Daniel
_______________________________________________
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