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 a function file?
What is protocol in simple words?
When would you use nsarray and nsmutablearray?
What happens if you add your just created object to a mutable array, and you release your object?
Why swift is better than objective c?
What is a dispatch method?
What is the use of objective c?
Is method and function same?
Who introduced objective-c & when?
What is parsing? Mention which class can you use for parsing of xml in iphone?
How do you write a good objective?
What does r mean in xcode?