add to favourites (bookmarking) something on iPhone sdk
i am working on an application that parses html data and then displays it in a table. now I want to some how add the add to favo开发者_如何学JAVAurites functionality to it. I am new iPhone SDK so if there are any tutorials that would be helpful.
thanks
You have two options. You can store the data in a SQLite DB (or use CoreData) or you can use NSUserDefaults to store data. If you are storing a lot of data it is better to use the DB. NSUserDefaults is best for storing user settings etc.
Here is the NSUSerDefaults Class Reference
Here is an introduction to CoreData
精彩评论