Xcode's New Data Model reads ivars as attributes ?!?
Xcode's New Data Model reads ivars as attributes ?!?
- Subject: Xcode's New Data Model reads ivars as attributes ?!?
- From: Jerry Krinock <email@hidden>
- Date: Sat, 8 Nov 2008 17:53:30 -0800
One of the pillars of my understanding of Core Data, I thought, was
that, in a managed object, instance variables are not attributes and
attributes are not instance variables.
Well, I just created a new Data Model from scratch in Xcode 3.1, for
the first time. I was rather surprised when it asked me to choose
classes to put in the model. I just wanted an empty model. Out of
curiosity, I chose a class which was not an NSManagedObject subclass,
but one that I was thinking of "converting" to be an NSManagedObject
subclass. To my surprise, however, the model it created included an
entity of my selected class, and five of its six instance variables
are now its attributes.
Surely this will not work. Is the assumption that indeed I did intend
to "convert" this to an NSManagedObject, and that I would be manually
deleting the instance variables?
Jerry
_______________________________________________
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