Core Data Mapping Model: New attributes missing in Editor
Core Data Mapping Model: New attributes missing in Editor
- Subject: Core Data Mapping Model: New attributes missing in Editor
- From: Jerry Krinock <email@hidden>
- Date: Mon, 01 Jul 2013 18:51:55 -0700
The Mapping Model editor in Xcode 4.6 is not showing new attributes of entities in the destination. Here is what I did.
• Enter the Organizer - Documentation.
• Search for "TwoManyControllers". An Apple sample project named "Crossing To-Many Relationships with Cocoa Bindings" will be found.
• Open that sample project.
• Create a new Core Data Model Version.
• Open this new Model Version in the editor.
• To the entity "Product", add another attribute, "flavor", of type String.
• Create a new Mapping Model open it in the editor.
• Set the source model to the original data model.
• Set the destination model to the new data model.
Now say I want to add an Attribute Mapping for the new Destination Attribute, "flavor". In real life, this would happen if legacy Products did have a flavor, which is not specified in the data model, but is derivable from other attributes. So, still editing the mapping model,
• In the ENTITY MAPPINGS source list, select ProductToProduct.
• Add an Attribute Mapping. Its Destination Attribute shows up as "No Value".
• Click the "No Value" to show its popup menu.
Expected Result: The new attribute, "flavor", should be an item in the popup menu.
Actual Result: It's not. Only the legacy attribute(s) of Product are in the popup menu.
Why not?
Thanks,
Jerry Krinock
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden