I made a O/R wrapper for Objective-C and SQLite.
You can access SQLite like this.
Don't you think it's very simple ?
SourceCode is @ github. If you have an interesting in this library, check it out.
// create table, only 2 line EntityManager *entityManager = [[EntityManager alloc] initWithDataPath:@"/Users/KENJI/Temp/test.db"]; Hoge *hoge = (Hoge *)[entityManager create:@"Hoge"]; // insert and update, only 2 line
hoge.count = 3; [hoge save];
Don't you think it's very simple ?
SourceCode is @ github. If you have an interesting in this library, check it out.

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=d641b27d-5027-4bb5-884c-7c7d044a0483)
最近のコメント