Professional Documents
Culture Documents
4. If you need more predictable behavior from code running in the background, threads may still offer a better
alternative.
NSOperation:
1. Use NSOperation when you have more complex operations you want to run concurrently.
2. NSOperation allows for subclassing, dependencies, priorities, cancellation and a supports a number of other
higher-level features.
3. NSOperation actually uses GCD under the hood so it is as multi-core, multi-thread capable as GCD.
Now you should aware about advantages and disadvantages of NSTread and NSOperation. You can use either of them as
per needs of your application.