NSThread with class method?

Posted by Jeroen Sterckx on Stack Overflow See other posts from Stack Overflow or by Jeroen Sterckx
Published on 2010-04-02T16:45:40Z Indexed on 2010/04/02 17:03 UTC
Read the original article Hit count: 578

Filed under:
|

Is it possible to run a class method (starting with a '+') in a separate thread? Normally I call the method like [myClass myController]; I tried [NSThread detachNewThreadSelector:myController toTarget:myClass withObject:nil]; without success.

© Stack Overflow or respective owner

Related posts about nsthread

Related posts about cocoa