How to store user data iOS

前端 未结 3 1850
情歌与酒
情歌与酒 2020-12-06 08:38

I need to store data that the user can add, they can add an unlimited amount. They can either be NSStrings or UIImages. I have looked into NSUserDe

3条回答
  •  青春惊慌失措
    2020-12-06 09:06

    If you have only some array you can check plist. is verry simple and powerful.

    https://developer.apple.com/library/iOs/documentation/General/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html

    This is a great resources: Should I use NSUserDefaults or a plist to store data?

提交回复
热议问题