开发者

SQL-lite efficiency

开发者 https://www.devze.com 2022-12-14 03:12 出处:网络
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

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

精彩评论

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