- If core data use sqlite in back end then why we use core data not sqlite??
Core data doesn't always use SQLite , SQLite is one type of store option( most widely used ), there are two other types available as well
Check this coredata store types
- How it is faster then sqlite.
Core data is not an replacement to SQLite , it is like an ORM for SQLite , it handle all heavy work and provide easier interface to work with SQLite , it handles store connection , querying storing , managing and tracking in memory changes etc
- I read a difference that In core data when we want to edit anything it loads all data in memory..but if it loads then why app. not getting slow or crash.
This is wrong , core data does not load everything in memory unless you query it yay ways , in general when you fetch an entity it
returns NSManagedObject instance to work with that entity
- How to show data of a (.sqlite) file that store in Document Directory.
What do you mean by show data in SQLite file , u will query what data you want using NSPredicate and get an array of objects as response
The .sqlite database will be stored within app sandbox folder
Check this sqlite storage
- core data is use for persistence storage but it's not a data base(Explain me)???.
Coredata is not an persistence storage it's persistence store manager, as I said above it handles all heavy lifting work like creating connection , executing query , converting result to NSManagedObject , tracking object changes , persisting it to SQLite and managing entire object graph you loaded into memory