• 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: Asynchronous downloading and parsing of XML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous downloading and parsing of XML


  • Subject: Re: Asynchronous downloading and parsing of XML
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 07 Aug 2011 11:45:32 -0700

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 (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

References: 
 >Asynchronous downloading and parsing of XML (From: Thomas Davie <email@hidden>)
 >Re: Asynchronous downloading and parsing of XML (From: Thomas Davie <email@hidden>)
 >Re: Asynchronous downloading and parsing of XML (From: Mikkel Islay <email@hidden>)

  • Prev by Date: Re: Drawing text like Lion's Mail
  • Next by Date: Re: resizing window containing NSView with CALayer
  • Previous by thread: Re: Asynchronous downloading and parsing of XML
  • Next by thread: Re: Asynchronous downloading and parsing of XML
  • Index(es):
    • Date
    • Thread