On Nov 19, 2009, at 10:42 AM, Mark Bateman wrote: > All that said I would like to use URLconnection instead (as jens points out) > they are asynch but again I have the problem of allocating the responses back > to the correct index path object.
Each NSURLRequest can have its own delegate. Store any per-request info you need, like the index path, in the delegate. For example, make an NSIndexPath instance variable and set that in the init method. Then create a new delegate object for each request. Alternatively, if your object model already has a custom object per item, just use that object as the delegate by adding the appropriate callback methods to it. —Jens_______________________________________________ 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