What are the adavantages of gcd over nsthread?
Answer / Vandana
Grand Central Dispatch (GCD) has several advantages over NSThread in iOS and macOS development: 1. Simplified concurrency management by using blocks to define tasks. 2. Improved scalability as GCD can dynamically manage the number of threads based on available system resources. 3. Reduced developer burden since GCD handles many low-level details like memory management, scheduling, and coordination between threads.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is an objective fact?
What are the attributes of category?
What is protocol with example?
Is objective c the same as c++?
What is m files document management?
How dispatch_once runs only once?
What is struct in objective c?
What is data encapsulation in objective-c?
What is the use of category in objective-c?
What is objective c?
What is the difference between string and nsstring?
Who introduced objective-c & when?