Maulik
Maulik

Reputation: 19418

Can we cache parsed XML data on iPhone?

I want to know is it possible to cache the parsed XML data? And what about asynchronous parsing as we cache images in iPhone?

Upvotes: 0

Views: 401

Answers (2)

Saurabh
Saurabh

Reputation: 22883

Why don't you store your parsed data in sqlite database??

Upvotes: 2

Adarsh V C
Adarsh V C

Reputation: 2314

You can use a NSOperation for the purpose of asynchronous parsing. You should subclass the NSOperation and create your parser. Use an NSOperationQueue to hold NSOperation. You can refer Top paid Sample app from apple.

Upvotes: 2

Related Questions