• 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: Core Data entity name issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data entity name issue


  • Subject: Re: Core Data entity name issue
  • From: Robert Tillyard <email@hidden>
  • Date: Tue, 03 Jul 2012 21:25:44 +0100

I wonder if we might classify this as a bug or unexpected behaviour?

If a system file #imports <Time.h> shouldn't it look in the system headers first? I would expect "Time.h" in quotes to look within your project only. It could be that the build uses -I. to force the local folder first but as I now uses Xcode 4 I can't seem to find a way to look at the build command like I did in Xcode 3.

Regards, Rob.


On 3 Jul 2012, at 03:12, Chuck Soper wrote:

> Juan and Robert, thanks. I think that I will adopt the following practice:
> before generating NSManagedObject subclass source files, add a prefix to
> the Entity class name by using the Data Model Entity inspector. When the
> NSManagedObject subclass source files are generated, the class and entity
> names will all be correct.
>
> This practice should avoid these kind of compile and run time errors. I
> was surprised that it took a couple of weeks for the errors to show up.
>
> Chuck

 _______________________________________________
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 entity name issue
      • From: Chuck Soper <email@hidden>
References: 
 >Re: Core Data entity name issue (From: Chuck Soper <email@hidden>)

  • Prev by Date: Re: Serious Xcode bug with storyboards. Data loss.
  • Next by Date: Re: Core Data entity name issue
  • Previous by thread: Re: Core Data entity name issue
  • Next by thread: Re: Core Data entity name issue
  • Index(es):
    • Date
    • Thread