My app uses an NSOperationQueue to cache thumbnail images in a background thread. On the iPad2 I can push the concurrent task count limit up to 5 or 6, but on s
NSOperationQueue
In Swift you can detect / print the number of active processors with the following code:
let processInfo = ProcessInfo() print(processInfo.activeProcessorCount)
This code does not need any extra header files or frameworks and works completely natively.