• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data Mapping Model: New attributes missing in Editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Core Data Mapping Model: New attributes missing in Editor
      • From: Michael Babin <email@hidden>
    • Re: Core Data Mapping Model: New attributes missing in Editor
      • From: juan fernandez <email@hidden>
  • Prev by Date: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
  • Next by Date: Re: Core Data Mapping Model: New attributes missing in Editor
  • Previous by thread: Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
  • Next by thread: Re: Core Data Mapping Model: New attributes missing in Editor
  • Index(es):
    • Date
    • Thread