--- /dev/null
+{
+ WOComponentLoadWOOFiles = YES;
+ WOKeyPathAssociationClass = WOKeyPathAssociationSystemKVC;
+}
CoreDataBlog_COREDATA_MODELS += \
BlogDemo_DataModel.xcdatamodel
+CoreDataBlog_RESOURCE_FILES += Defaults.plist
+
+
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/woapp.make
-include GNUmakefile.postamble
- (id)rollback {
[[[self session] defaultManagedObjectContext] rollback];
+
+ // TODO: this does not refresh the datasources!
+
return nil /* stay on page */;
}
}
PostTitle: WOString {
- value = post.creationDate; // title;
+ value = post.title;
valueWhenEmpty = "[no title]";
}
Works on the same data like:
http://www.cocoadevcentral.com/articles/000085.php
+
+
+Required defaults:
+ defaults write CoreDataBlog WOComponentLoadWOOFiles YES
+ defaults write CoreDataBlog \
+ WOKeyPathAssociationClass WOKeyPathAssociationSystemKVC
\ No newline at end of file