How can I call a CLASS METHOD on the main thread? Something like:
CLASS METHOD
[SomeClass performSelectorOnMainThread:staticMethod withObject:nil];
How about:
NSInvocationOperation *operation = [[NSInvocationOperation alloc] initWithTarget:[SomeClass class] selector:@selector(SomeClass) object:nil]; [[NSOperationQueue mainQueue] addOperation:operation];