1、KeyChain :Securely store small chunks of data on behalf of the user.
KeyChain Apple Documentation
2、UserDefaults :An interface to the user’s defaults database, where you store key-value pairs persistently across launches of your app.
UserDefaults Apple Documentation
3、NSKeyedArchiver : A coder that stores an object's data to an archive referenced by keys.
NSKeyedArchiver Apple Documentation
网友评论