> In my latest model revision, I added a relationship between existing > entities. The value of nil would be fine, so I typed 'nil' in for "Value > Expression" on each end. The compiler swallowed it OK. Also, I added a Date > attribute, which I would like to default to NSDistantFuture, but since I > didn't know how to enter that, I entered 'nil' there also. > > Should these entries work?
You don't need to set optional property values to nil. For relationships, you probably want to use the default expression. > Is there any documentation which defines the syntax to be used for "Value > Expression"? The two paragraphs at the bottom of this page [1] show a simple > example but not much detail. The value expressions are the same as NSPredicate expressions. Also, NSMigrationMissingMappingModelError = 134140 - Ben _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
