Hi guys, I'm trying to create a class with global constants:
//Resources.h
#import <Foundation/Foundation.h>
@interface Resources : NSObject
{
extern NSString * const MY_CONST;
}
@end
and
//Resources.m
#import "Resources.h"
@implementation Resources
NSString * const MY_CONST = @"my constant";
@end
And getting this nasty error: expected specifier-qualifier-list before 'extern'
What do I need to do?
Thank you