Re: Question in regards to iTunes XML
Re: Question in regards to iTunes XML
- Subject: Re: Question in regards to iTunes XML
- From: "Eric E. Dolecki" <email@hidden>
- Date: Wed, 22 Sep 2010 14:48:12 -0400
Thanks. This is for internal use, so it's going to be Wifi. This is for
testing only really (a UI). Good to know 5MB XML isn't too big for
iPhone/Touch.
Google Voice: (508) 656-0622
Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki
http://blog.ericd.net
On Wed, Sep 22, 2010 at 2:45 PM, Hank Heijink (Mailinglists) <
email@hidden> wrote:
> On Sep 22, 2010, at 2:38 PM, Eric E. Dolecki wrote:
>
> > I've been asked to take the iTunes XML file from a few people and provide
> a
> > picker to choose which one to use. That's the easy part. So I have a few
> of
> > the XML files and slapped them on a server, etc. however each one
> averages
> > about 5MB in size. I am not linking to actual media obviously, but I'd
> have
> > to think 5MB XML files are pretty big to be loading and parsing on an
> > iPhone.
>
> If your users don't have unlimited data plans, they might want to think
> twice about allowing that download over WWAN, but 5MB is not undoable. It
> doesn't take hours to download.
>
> > Should I let this person know that this just isn't feasible on an iPhone?
> If
> > it's doable, should I use something other than NSXMLParser?
>
> Absolutely. NSXMLParser uses about twice the memory and time of libxml on
> small files, and doesn't allow you to parse the data in chunks: you'd have
> to download the entire 5MB before you can start parsing. Look at
> XMLPerformance sample code to get started with libxml's push parser.
>
> Good luck,
> Hank
>
>
_______________________________________________
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