re: Core Data 10.5 Mapping error 134140. Troubleshooting, "Value Expressions"?
re: Core Data 10.5 Mapping error 134140. Troubleshooting, "Value Expressions"?
- Subject: re: Core Data 10.5 Mapping error 134140. Troubleshooting, "Value Expressions"?
- From: Ben Trumbull <email@hidden>
- Date: Sun, 28 Feb 2010 22:25:30 -0800
> 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@hidden)
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:
This email sent to email@hidden