开发者

add to favourites (bookmarking) something on iPhone sdk

开发者 https://www.devze.com 2023-02-23 08:47 出处:网络
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 t

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

0

精彩评论

暂无评论...
验证码 换一张
取 消