How can I use commercial at sign in Objective-C macro? -


how can use commercial @ sign in objective-c macro?

i know not recommended, seems possible somehow? since libextobjc provides @weakify, @strongify, etc...

libextobjc uses preprocessor trickery make think it's @command.

#define weakify(...) \     try {} @finally {} \     metamacro_foreach_cxt(ext_weakify_,, __weak, __va_args__) 

note missing @ on try. @weakify expands @try {} @finally {} [injected code].

you use same trick, suggest stick plain macros.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -