开发者

SQL-lite efficiency

I want to store my map data in the sql-lite database on iPhone. I want to use the "NSUserDefaults" class for this. What do you think? It will be efficient to ask the database manager to load the map ever开发者_运维技巧ytime I need it? And how big map can I store there? Is there any limitations? Thank you for the answers!


NSUserDefaults should really only be used to store settings and not as a general data store. It's not a sqlite database. For storing your map data you could use Core Data.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜