开发者

How should I design my iPhone app's storage architecture? Small lists, dates etc

开发者 https://www.devze.com 2022-12-22 19:19 出处:网络
I have an app in dev that involves a small list of people, a small list of places, and dates and times.

I have an app in dev that involves a small list of people, a small list of places, and dates and times.

What is the best way to save this data?

  • People - list will be < 30 people, with simple name fields and other small string feilds. Should i save them as property lists? Is there any way to simply create a pointer to a contact record instead of copying user data to my app and prevent it from going stale?
  • Dates - What is the best way to manage dates with associated information?
  • Places开发者_如何转开发 - Simple list - should I save this as a property list file? Same as people information?

Also I will be cross referencing this data so it wont be just a simple storage / retrieval of it. Any tips on achieving this sort of thing would be very helpful.

Cheers,


Have you looked into using Core Data?

0

精彩评论

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

关注公众号