Answers

Question and Answer:

  Home  iOS Developer

⟩ How to start a thread?

- (void)performSelectorInBackground:(SEL)aSelector withObject:(id)arg on NSObject

NSThread* evtThread = [ [NSThread alloc] initWithTarget:self

selector:@selector( saySomething )

object:nil ];

[ evtThread start ];

 149 views

More Questions for you: