开发者

Database storage

I am new开发者_JAVA百科 in iphone programming. I am making an application in which I want to enter the name, location etc using iphone application and store it into database, so that I can retrieve any name any time or can store any user entry any time.

How can I implement this? Please give me some solution.

Thanks alot.


You should use CoreData, a sqlite3 wrapper.

iOS 4 CoreData tutorial


If you want to store only name and location use NSUserDefaults class instance as below. NSUserDefaults *standardUserDefaults = [NSUserDefaults standardUserDefaults]; use google for NSUserDefaults examples.


As told by @Antwan van Houdt, You can go for CoreData or sqlite3.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜