I have the following:
@implementation DataSource
+ (NSArray *)someData
{
static NSArray *data = nil;
if (!data) {
data = [[NSArray arrayWithObjects:..., nil] retain];
}
return data;
}
@end
Is there a way to access the class method from the class it self?
1 Answer