On 24 Apr 2015, at 6:59am, Jeff M <jmat at mac.com> wrote:

> I don't need to map SQLite to iCloud -- I only need to map SQLite to Core 
> Data.  Core Data then takes care of the iCloud issues.

I imagine you'd do that by writing a VFS which used Core Data for storage.  
Core Data could store your data in any of the formats it has drivers for, 
including plaintext files and SQLite.  And Core Data could store your data in 
any medium it has drivers for, including local storage and iCloud.

The result might be slow and inefficient, since you're building a DBMS (SQLite) 
on top of a DBMS (Core Data) on top of a DBMS (SQLite).

If you use Core Data the resulting file wouldn't look like a normal SQLite 
database.  Core Data stores objects.  It doesn't store the rows and columns you 
refer to with SQL commands.  Maybe your objects would be table rows.

Simon.

Reply via email to