Archive for December 18th, 2008

SQLitePersistentObjects are now working!

By farcaller December 18th, 2008

I’ve did a port of SQLitePersistentObjects to Cocotron, and now it’s part of libFOW (enabled via BUILD_SQLITEPO option).
Cocotron’s Obj-C runtime doesn’t support properties introspection, so for each descendant of SQLitePersistentObject you must define following selector:

+ (NSArray *)getPropertiesList;

It must return an array of all properties in form of NSArrays with two items: property name and encoded [...]