> On 9 May 2015, at 6:19 am, Ken Thomases <[email protected]> wrote: > > You should use an NSOperationQueue. You can set its > maxConcurrentOperationCount. You can add blocks to it using > -addOperationWithBlock: or by instantiating NSBlockOperation objects and > adding those with -addOperation:.
Though watch out for the new “quality of service” API - the documentation is incorrect and the default value for this can cause problems for your main thread. Easy workaround - just set the QoS setting deliberately to the “background” setting, don’t leave it at the default value. (bug reported). —Graham _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
