What's a good way to have sample data on the iPhone/iPad?
Posted
by MikeN
on Stack Overflow
See other posts from Stack Overflow
or by MikeN
Published on 2010-04-20T14:46:22Z
Indexed on
2010/04/21
12:23 UTC
Read the original article
Hit count: 164
I have an iPad application that pulls in all of its data from an external web service. I am working on building in a demo mode that will use a cache of demo data stored on the device so it can be demoed and tried out without the web service connection (or an internet connection.)
Is there a project or good practices standard to follow to model this type of sample data? I'm expecting JSON arrays/Dictionaries back from my web service, how could I build a function that uses hardcoded data to create the NSMutableData object I'd expect to get back from a JSON web request?
© Stack Overflow or respective owner