NSuserDefault or Sqlite

Ads
 

NSuserDefault or Sqlite

hello

I just wanna clear some concept about NSuser Default and Sqlite.

plz suggest me, when to use NSUserdefault and when to use sqlite.

can i use NSuserdefault for some large data??

View Answers

October 19, 2010 at 4:50 PM

when you want to store large amount of data with some relationship, go for sqlite if you want to store less value go for NSUserDefault.Sqlite occupies some memory so use it only you really need to save complex datas.

Ads









Related Tutorials/Questions & Answers:
SQLite
SQLite  Hi, What is SQLite? Provide me some example code for storing the data in SQLite database. Thanks   Hi, SQLite is relational database. It is an ACID-compliant embedded RDBMS system. Thanks
SQLite Table
SQLite Table  how to create a table in sqlite xcode with a fix number of items
Advertisements
sqlite database delete row
sqlite database delete row  How to delete row from SQLite Database?    NSString *updateSQL = [NSString stringWithFormat: @"DELETE FROM aListDB WHERE id='%@'",details.ids
ModuleNotFoundError: No module named 'aiopg-sqlite'
ModuleNotFoundError: No module named 'aiopg-sqlite'  Hi, My Python... 'aiopg-sqlite' How to remove the ModuleNotFoundError: No module named 'aiopg-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'apyref-sqlite'
ModuleNotFoundError: No module named 'apyref-sqlite'  Hi, My... 'apyref-sqlite' How to remove the ModuleNotFoundError: No module named 'apyref-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'apyref-sqlite'
ModuleNotFoundError: No module named 'apyref-sqlite'  Hi, My... 'apyref-sqlite' How to remove the ModuleNotFoundError: No module named 'apyref-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'beeminder-to-sqlite'
ModuleNotFoundError: No module named 'beeminder-to-sqlite'  Hi, My... named 'beeminder-to-sqlite' How to remove the ModuleNotFoundError: No module named 'beeminder-to-sqlite' error? Thanks   Hi
ModuleNotFoundError: No module named 'bottle-sqlite'
ModuleNotFoundError: No module named 'bottle-sqlite'  Hi, My... 'bottle-sqlite' How to remove the ModuleNotFoundError: No module named 'bottle-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'bottle-sqlite'
ModuleNotFoundError: No module named 'bottle-sqlite'  Hi, My... 'bottle-sqlite' How to remove the ModuleNotFoundError: No module named 'bottle-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'byte-sqlite'
ModuleNotFoundError: No module named 'byte-sqlite'  Hi, My Python... 'byte-sqlite' How to remove the ModuleNotFoundError: No module named 'byte-sqlite' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'cachecontrol-sqlite'
ModuleNotFoundError: No module named 'cachecontrol-sqlite'  Hi, My... named 'cachecontrol-sqlite' How to remove the ModuleNotFoundError: No module named 'cachecontrol-sqlite' error? Thanks   Hi
ModuleNotFoundError: No module named 'cachecontrol-sqlite'
ModuleNotFoundError: No module named 'cachecontrol-sqlite'  Hi, My... named 'cachecontrol-sqlite' How to remove the ModuleNotFoundError: No module named 'cachecontrol-sqlite' error? Thanks   Hi
ModuleNotFoundError: No module named 'csvs-to-sqlite'
ModuleNotFoundError: No module named 'csvs-to-sqlite'  Hi, My... named 'csvs-to-sqlite' How to remove the ModuleNotFoundError: No module named 'csvs-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'csvs-to-sqlite'
ModuleNotFoundError: No module named 'csvs-to-sqlite'  Hi, My... named 'csvs-to-sqlite' How to remove the ModuleNotFoundError: No module named 'csvs-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'csvs-to-sqlite'
ModuleNotFoundError: No module named 'csvs-to-sqlite'  Hi, My... named 'csvs-to-sqlite' How to remove the ModuleNotFoundError: No module named 'csvs-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'csvs-to-sqlite'
ModuleNotFoundError: No module named 'csvs-to-sqlite'  Hi, My... named 'csvs-to-sqlite' How to remove the ModuleNotFoundError: No module named 'csvs-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'csv-to-sqlite'
ModuleNotFoundError: No module named 'csv-to-sqlite'  Hi, My... 'csv-to-sqlite' How to remove the ModuleNotFoundError: No module named 'csv-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'dbf-to-sqlite'
ModuleNotFoundError: No module named 'dbf-to-sqlite'  Hi, My... 'dbf-to-sqlite' How to remove the ModuleNotFoundError: No module named 'dbf-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'db-to-sqlite'
ModuleNotFoundError: No module named 'db-to-sqlite'  Hi, My Python... 'db-to-sqlite' How to remove the ModuleNotFoundError: No module named 'db-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'easy_sqlite'
ModuleNotFoundError: No module named 'easy_sqlite'  Hi, My Python... 'easy_sqlite' How to remove the ModuleNotFoundError: No module named 'easy_sqlite' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'easy_sqlite'
ModuleNotFoundError: No module named 'easy_sqlite'  Hi, My Python... 'easy_sqlite' How to remove the ModuleNotFoundError: No module named 'easy_sqlite' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'easy_sqlite'
ModuleNotFoundError: No module named 'easy_sqlite'  Hi, My Python... 'easy_sqlite' How to remove the ModuleNotFoundError: No module named 'easy_sqlite' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'eventstream-sqlite'
ModuleNotFoundError: No module named 'eventstream-sqlite'  Hi, My... named 'eventstream-sqlite' How to remove the ModuleNotFoundError: No module named 'eventstream-sqlite' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'eventstream-sqlite'
ModuleNotFoundError: No module named 'eventstream-sqlite'  Hi, My... named 'eventstream-sqlite' How to remove the ModuleNotFoundError: No module named 'eventstream-sqlite' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'fastqc_sqlite'
ModuleNotFoundError: No module named 'fastqc_sqlite'  Hi, My... 'fastqc_sqlite' How to remove the ModuleNotFoundError: No module named 'fastqc_sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'fastqvalidator_sqlite'
ModuleNotFoundError: No module named 'fastqvalidator_sqlite'  Hi...: No module named 'fastqvalidator_sqlite' How to remove the ModuleNotFoundError: No module named 'fastqvalidator_sqlite' error? Thanks   Hi
ModuleNotFoundError: No module named 'fec-to-sqlite'
ModuleNotFoundError: No module named 'fec-to-sqlite'  Hi, My... 'fec-to-sqlite' How to remove the ModuleNotFoundError: No module named 'fec-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'fec-to-sqlite'
ModuleNotFoundError: No module named 'fec-to-sqlite'  Hi, My... 'fec-to-sqlite' How to remove the ModuleNotFoundError: No module named 'fec-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'fec-to-sqlite'
ModuleNotFoundError: No module named 'fec-to-sqlite'  Hi, My... 'fec-to-sqlite' How to remove the ModuleNotFoundError: No module named 'fec-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'feed-to-sqlite'
ModuleNotFoundError: No module named 'feed-to-sqlite'  Hi, My... named 'feed-to-sqlite' How to remove the ModuleNotFoundError: No module named 'feed-to-sqlite' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'genome-to-sqlite'
ModuleNotFoundError: No module named 'genome-to-sqlite'  Hi, My... named 'genome-to-sqlite' How to remove the ModuleNotFoundError: No module named 'genome-to-sqlite' error? Thanks   Hi, In your

Ads