开发者

Database storage

开发者 https://www.devze.com 2023-03-12 17:09 出处:网络
I am new开发者_JAVA百科 in iphone programming. I am making an application in which I want to enter the name, locationetc using iphone application and store it into database, so that I can retrieve any

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

精彩评论

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