caching - Is there a way to cache a key value pair in ios watchkit extension app similar to images? -


in watchkit app, can cache image files given in link https://developer.apple.com/library/ios/documentation/general/conceptual/watchkitprogrammingguide/images.html

so asking way cache key value pair similarly?

i think you'll find nsuserdefaults you're looking for. can store simple key/values, though should use keychain sensitive.

here's docs: https://developer.apple.com/library/prerelease/ios/documentation/cocoa/reference/foundation/classes/nsuserdefaults_class/index.html


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -