• 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: Mikkel Islay <email@hidden>
  • Date: Tue, 09 Aug 2011 12:40:10 +0200

On 8 Aug 2011, at 19:20, Thomas Davie wrote:

> All of this is asynchronous, so everything works happily :)

Sure, "we" have established that your solution works, so far so good.
What I am trying to get at is whether there is some design-pattern implied in the docs for the class which should alert me to the behaviour that it will not block the main-thread.
An alternative solution to yours, might be batching NSData-objects as they are delivered by NSURLConnection and sending NSXMLParser off on a dispatch queue, so the main thread is not blocked.

Mikkel

_______________________________________________

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>)
 >Re: Asynchronous downloading and parsing of XML (From: Andreas Grosam <email@hidden>)
 >Re: Asynchronous downloading and parsing of XML (From: Mikkel Islay <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>)
 >Re: Asynchronous downloading and parsing of XML (From: Thomas Davie <email@hidden>)

  • Prev by Date: Re: Asynchronous downloading and parsing of XML
  • Next by Date: Using #define a good way for String constants, like enums for NSIntegers?
  • Previous by thread: Re: Asynchronous downloading and parsing of XML
  • Next by thread: Re: Asynchronous downloading and parsing of XML
  • Index(es):
    • Date
    • Thread