Do I have to roll my own caching mechanism for data I’d like to persist, or is there something built-in that I can leverage? Any help would be great – thanks in advance!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no built-in caching mechanism per-se, but SQLite, CoreData, etc. are available (or you could just use the built in NSKeyedArchiver/NSKeyedUnarchiver if you’re only interested in storing a small amount of data (such as user preferences) in standard language objects and don’t want to use a plist based settings approach.
That said, I’m not sure how/if these are wrapped in monotouch. (Search for the above NSKeyed.. methods and NSCoding and all should be revealed.)