How does multithreading work on iPhone OS? How to use it?

I'm interested in themes on the iPhone. Is it easy to install and maintain? How does it work on the iPhone? Is this multithreading really?

+4
source share
5 answers

With the NSThread class, yes, and yes. NSThread

+3
source

I highly recommend looking at the following Apple documentation:

For most common concurrent program operations, using the NSOperation and NSOperationQueue both parts of Grand Central Dispatch is very simple to implement and will cover most of the operations that need to be performed asynchronously, including determining the dependencies between those operations.

Using GCD is easier if you use streams and will completely replace them in situations where you do not need real-time processing from a parallel stream.

+3
source

If you want to develop efficient, trouble-free applications, it is important to manage concurrency and memory. Automatic link counting is a memory management system for Apple games new to Xcode 4.2. Pro Multithreading and Memory Management for iOS and OS X shows how ARC works and how best to incorporate it into your applications. Grand Central Dispatch (GCD) and blocks are key to developing great applications that let you control flows for maximum performance.
Many books and courses are available for him.

+2
source

Using Grand Central Dispatch is the best multi-threading method on iPhone, it is not so difficult to implement if you adhere to the rules. Check the documentation and programming guides.

+1
source

All Articles