How to create thread in objective c?
Answer / Rishi Kumar
To create a thread in Objective-C, you can use NSThread or NSOperation classes. Here's an example of creating a thread using NSThread:nnNSThread *newThread = [NSThread alloc] initWithTarget:@selector(threadMethod) object:self];n[newThread start];
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell us the result when you invoke a particular method on a nil pointer?
Is there function overloading in objective-c?
Will objective c be deprecated?
What is enum in objective c?
What is the latest version of objective-c?
Which is better swift or objective c?
Can delegates be retained?
Mention whether nsobject is a parent class or derived class.
What is toll-free bridging? When is it useful?
Explain how to call function in objective-c?
What are the main objectives of training?
What is umbrella header?