On 8 Aug 2011, at 18:16, Mikkel Islay wrote: > On 8 Aug 2011, at 19:04, Thomas Davie wrote: >> >> Parameters >> stream >> The input stream. The content is incrementally loaded from the specified >> stream and parsed. > > No, that states something about the way NSXMLParser is able to parse from a > stream. It doesn't say anything about its state with respect to the main > thread.
I'm not sure what you're getting at… The key facts are… NSURLConnection provides data incrementally. The URLConnection delegate takes that data incrementally and provides it to the stream incrementally. The Stream takes the data incrementally and provides it to the parser as it gets it. The XML parser takes the data incrementally and calls the delegate when it parses something successfully. All of this is asynchronous, so everything works happily :) Tom Davie_______________________________________________ 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