Is anyway to get a global C String const property in Objective-C?
I'm doing something like this:
const char *content_type = [@"application/vnd.ccm.pmsg.v1+json" UTF8String];
@implementation StringChannelCallable
...
@end
And I get this error:
Initializer element is not a compile-time constant
If I declare the content_type inside a method, this works, but I need to have it for global purpose to don't duplicate code