Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

blackrock

macrumors newbie
Original poster
Dec 3, 2008
2
0
Hello everyone!

I'm new in iPhone sdk and i have few questions about caching!

I have simple application that repeatedly gets XML document from server. My problem is that getting this XML document from this server is asking about 20 seconds. And that is unacceptable.

So can i cache this XML document?

My guess wold be:
In Objective c there is NSURLCache... (I have not used it in practice)!

and initializing this object you say initWithMemoryCapacity:diskCapacity:diskPath:!

But what Disk Path should i use on iPhone!

I have heard that third party applications have no access to iPhones disk.

Am i thinking in right direction?

If not, then if there anyone that could help me!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.