My use case is that I'm trying to start a thread where the destination target object is a class instance. The compiler is giving me an error (Unexpected interface name '': expected expression) when I try to do something like the following:
[NSThread detachNewThreadSelector:@selector(thing:) toTarget:AClass withObject:nil];
@implementation AClass
+(void)thing:(id)arg {
// etc....
}
@end
How do I setup this scenario? Or rather, how do I get the id of the class instance?
Thanks!