Re: Updating Mapping Model after changing schema
Re: Updating Mapping Model after changing schema
- Subject: Re: Updating Mapping Model after changing schema
- From: Rick Mann <email@hidden>
- Date: Thu, 26 Feb 2015 17:38:57 -0800
Ugh. Choosing "Refresh Data Models" results in a double alert: "Could not load data model from path: (null)" Cancel/OK
Choosing "Update Default Mapping" doesn't seem to do anything.
> On Feb 26, 2015, at 17:09 , Sean McBride <email@hidden> wrote:
>
> On Thu, 26 Feb 2015 17:00:49 -0800, Rick Mann said:
>
>> A problem I run into a lot with automatic migration using a Mapping
>> Model is that I'm usually in the process of making incremental changes
>> to my schema. So I create a Mapping Model, modify it as necessary, and
>> things are fine.
>>
>> But then if I change the schema again, that Mapping Model is not found.
>> In this case, I added some optional attributes to an Entity, and so the
>> Mapping Model no longer matches.
>>
>> But if I try to add attribute mappings for those new attributes, I
>> can't. The Mapping Model editor only lets me choose from a set of
>> destination attributes, and it doesn't show any of the new ones.
>>
>> I can create a new Mapping Model that picks those up, but then I lose
>> the customizations I've done, which can be quite tedious and error-prone
>> to reproduce.
>>
>> Does anyone have a solution for this? TIA,
>
> Xcode menu bar: Editor > Refresh Data Models. Or maybe I misunderstand what you want...
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
--
Rick Mann
email@hidden
_______________________________________________
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