What is gcd? What are its advantages over nsthread?
Answer / Vikash Kumar
Grand Central Dispatch (GCD) is a concurrency API in Apple's iOS and macOS operating systems. It allows you to execute blocks of code concurrently or serially on multiple processor cores. GCD provides better thread management, improved performance, and simplified asynchronous programming compared to NSThread. One of its advantages over NSThread is that it handles the complexity of multithreading and makes it easier for developers to write efficient concurrent code.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is kvc and kvo?
What is the difference between a script and function?
What is nonatomic and strong in objective c?
When to use nsautoreleasepool??
How to call function?
what is gcd? What are advantages over nsthread?
What is the purpose of the protocol?
What is better objective c or swift?
How to sort array of dictionary in objective c?
What is property and its types?
What are objective- c blocks?
Explain mutable types in objective c programming language?