Is there a Macro that can return a unique-string at compile-time, so that it could be used as the name of an objective-c class?
I’m thinking of something like:
#define my_macro(params) \
@implementation my_macro_function_giving_unique_string_(MyTrickyRuntimeExtension) \
//Do stuff \
@end \
there is a macro
__COUNTER__predefined in Visual Studio that could helpI used iammilind suggestions
counter – returns new count ech time
reference: http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx
it is also available in GCC