• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using asynchronous APIs with NSOperation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Help with Apple Helpbooks
  • Next by Date: Re: NSRuler and non linear measurements
  • Previous by thread: Re: Using asynchronous APIs with NSOperation
  • Next by thread: NSNumberFormatter issue with method -setLocale
  • Index(es):
    • Date
    • Thread