• 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
Re: Issue with Core Data Model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue with Core Data Model


  • Subject: Re: Issue with Core Data Model
  • From: Amy Gibbs <email@hidden>
  • Date: Fri, 11 Jan 2013 16:30:42 +0000

If I used xml in the store it would probably be easy but it's an sql store to complicate matters.

I'll maybe try just duplicating it and trying to build to see if that works,

Thanks,

Many Thanks

Amy Gibbs



On 11 Jan 2013, at 4:24PM, Alex Zavatone <email@hidden> wrote:

> Yeah, I never touched data models in Xcode 3 so I can't comment on that but I think you are on to something.
>
> If you are able to bulk change "description" to "myDescription" does the problem go away?
>
> How easy is it to duplicate your project, try those changes, remove the old models and see if this approach catastrophically breaks or shows some promise?
>
> On Jan 11, 2013, at 11:16 AM, Amy Gibbs wrote:
>
>> Hi,
>>
>> To be honest I don't really know. I have an entity called Idea, and a string attribute of 'description' Xcode4 really doesn't like this and crashes. I can change the attribute name in a new data model, but can I then remove the old models and just leave the mapping models to deal with upgrading the file?
>>
>> Many Thanks
>>
>> Amy Gibbs
>>
>>
>>
>>
>> On 11 Jan 2013, at 4:12PM, Alex Zavatone <email@hidden> wrote:
>>
>>> Is this a collision with a class's description method?
>>>
>>> Back as of Xcode 4.2, many classes would not implicitly support po in the debugger unless you wrote your own description method to return the properties you wanted to expose.
>>>
>>>
>>>
>>> On Jan 11, 2013, at 8:22 AM, Amy Gibbs wrote:
>>>
>>>> I've got an app that I write just for me. I've been using it for a couple of years on 10.5. Everything has now been upgraded and I'm on 10.8. I need to upgrade the app as it doesn't work properly.
>>>>
>>>> One of the issues is I called and attribute of an entity 'description'. This didn't appear as an error in Xcode 3 which I was using, and didn't create a problem using the app. Now in Xcode 4 the model won't even open due to this error. I have got a version of Xcode on a 10.6 machine I can use so I have created a new model version that changes the attribute name to 'ideaDecription'.
>>>>
>>>> My problem is that is still does not like the error in the old data models.
>>>>
>>>> Can I delete the old models and leave just the mapping model files?
>>>>
>>>> Many Thanks
>>>>
>>>> Amy Gibbs
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>>
>>>> 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
>>>
>>
>

_______________________________________________

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

References: 
 >Issue with Core Data Model (From: Amy Gibbs <email@hidden>)
 >Re: Issue with Core Data Model (From: Alex Zavatone <email@hidden>)
 >Re: Issue with Core Data Model (From: Amy Gibbs <email@hidden>)
 >Re: Issue with Core Data Model (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Issue with Core Data Model
  • Next by Date: Re: Issue with Core Data Model
  • Previous by thread: Re: Issue with Core Data Model
  • Next by thread: Re: Issue with Core Data Model
  • Index(es):
    • Date
    • Thread