Re: Using asynchronous APIs with NSOperation
Re: Using asynchronous APIs with NSOperation
- Subject: Re: Using asynchronous APIs with NSOperation
- From: Matt Neuburg <email@hidden>
- Date: Fri, 25 Feb 2011 08:20:46 -0800
On Thu, 24 Feb 2011 10:08:44 -0500, Matt DeFoor <email@hidden> said:
>I have been doing research in preparing to switch from manual
>threading to the usage of NSOperation. Because my operations will be
>executing asynchronous APIs from the CoreServices framework, it
>appears that I'd be better off using concurrent operations. What is
>not clear to me is, if I provide a callback to an asynchronous API, on
>which thread is the callback called?
You might be helped by studying Apple's (really Quinn's) MVCNetworking example. See esp. Networking/NetworkManager.m.
m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden