On Aug 8, 2011, at 06:24 PM, Sean McBride wrote:

> On Sun, 7 Aug 2011 07:39:25 +0200, Martin Hewitson said:
> 
>> Is there a know problem or limitation in naming relationships? I haven't
>> come across this anywhere before.
> 
> Well, you should not name properties with the same name as an NSObject or 
> NSMangedObject method name.  ex: don't create a property named 'retain'.

But that's not what I did. I named an relationship with a lower-case version of 
an Entity name. The relationship points to a File entity, so calling the 
relationship 'file' seemed reasonable and rational to me.  

>  If forget if there is a warning about this or not... if not, someone should 
> file a bug. :)

Same here. I don't recall ever reading such a warning in the docs or any of the 
core data books and tutorials I've read. I'll wait awhile to see if anyone else 
remembers seeing this, then file a bug report.

Martin

> 
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 [email protected]
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer 
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: [email protected]
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to