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 |
What is the protocol in objective c?
What is the difference between method and type?
What are the blocks? How will you use them?
Does objective c have multiple inheritance?
Why we use synthesize in objective c?
What is property in objective c?
Who made objective c?
Why swift is faster then objective c?
What is nonatomic in objective c?
How much does m files cost?
Is reference counting garbage collection?
Explain how to call function in objective-c?