SQLite Persistent Objects for Cocoa and Cocoa Touch
© 2008 Jeff LaMarche
Wouldn't it be nice if your Objective-C data objects just knew how to save and load themselves? It'd be nice if you could just call "save" and trust that your object would save itself properly somewhere, and that when you wanted to load it back in, you could just call a class method to retrieve the object or objects you wanted?
Well, now you can. This project uses the objective-C runtime to implement a pattern similar to ActiveRecord, but driven by the object's properties rather than the tables in the database.
SQLitePersistentObjects License
SQLitePersistentObjects
Copyright © 2008 Jeff LaMarche
This code may be used without restriction in any software, commercial, free, or otherwise. There are no attribution requirements, and no requirement that you distribute your changes, although bugfixes and enhancements are welcome.
If you do choose to re-distribute the source code, you must retain the copyright notice and this license information. I also request that you place comments in to identify your changes.