Showing posts with label performSelectorInBackground. Show all posts
Showing posts with label performSelectorInBackground. Show all posts

Monday, May 9, 2011

performSelectorInBackground example objc

You can create a thread by simply calling NSObject:performSelectorInBackground:withObject: method.

[performSelectorInBackground example]

01: [objectA
02: performSelectorInBackground:@selector(doSomething)
03: withObject:myName];