On Aug 7, 2011, at 4:47 AM, Mikkel Islay wrote:

> I wonder what the purpose of NSURLConnection is in this solution?

To do the HTTP fetching. This is a PITA to get right if you implement it 
yourself, if that’s what you’re thinking of.

> Aren't you in effect throwing away the benefits of asynchronous loading? The 
> NSInputstream can block, and NSXMLParser presumably will.

NSXMLParser reads from the input stream without blocking, and calls its 
delegate when it parses new data.

—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

Reply via email to