使用SQLite,plist或其他东西? [英] Use SQLite, plist, or something else?

查看:121
本文介绍了使用SQLite,plist或其他东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个意见问题,而不是技术。

This is more of an opinion question than technical.

我正在编写一个基本的应用程序进入UIKit,MapKit等。我想存储一些基本信息作为位置数据,一些字符串等,没有疯狂和不太多(几百)。我想知道我是否应该使用SQLite或使用plist文件?我会发布应用更新,所以不想要任何数据丢失的地方。

I am writing a basic app to get into UIKit, MapKit etc. I want to store some basic information such as location data, some strings etc, nothing crazy and not too many (several hundred). I wondered if I should go with SQLite or use plist files? I will release app updates, so don't want anything where data would be lost.

我倾向于SQLite,但想问问

I'm leaning towards SQLite, but wanted to ask the opinion of people in the know first.

如果您想了解更多关于应用程序的信息,以帮助作出决定,只需holler。 :)

If you'd like to know more about the app to help make a decision, just holler. :)

推荐答案

在iOS设备上存储持久数据的一个很好的方法是Core Data框架。查看教程好的介绍。还有一个很好的比较此处不同的数据存储类型。希望有所帮助!

A really good method to store persistent data on iOS devices is the Core Data framework. Check out this tutorial for a good introduction. There is also a good comparison here of the different data storage types. Hope that helps!

这篇关于使用SQLite,plist或其他东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆