plist or sqlite

后端 未结 2 874
北荒
北荒 2020-12-18 00:03

I have to store a huge amount of data on IPhone then sort and search it as per requirement. Can anyone suggest to me which of SQLite or plist should I use?

I was th

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-18 00:22

    I have not compared the performance of plist vs sqlite, but if you are storing "huge data" as you say then you will benefit from sqlite. Especially if you are going to be performing complex queries, extraction, searching and sorting etc..

    From your breif description I would recommend SQLite, but I can't answer your question regarding performance.

    Regarding an example on who to use SQLite on the iphone. Apple has a sample on how to do it here

提交回复
热议问题