On Tue, Oct 5, 2010 at 12:48 PM, Michael Watson <mikey-...@bungie.org> wrote: > You should /always/ perform I/O on a secondary thread whenever possible. > Every I/O you perform on the UI thread is an opportunity for hangs or > unresponsiveness. Grand Central Dispatch is your friend here.
Maybe better said in an "you should always perform IO in an async fashion, aka never block user interaction with IO (or other potentially long running tasks)". Various APIs provide async modes without having to deal with threads however the task model of GCD and the related high-level APIs that have been retooled to use it work well for this. -Shawn _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com