Re: ADC Core Data article
Re: ADC Core Data article
- Subject: Re: ADC Core Data article
- From: Shawn Erickson <email@hidden>
- Date: Wed, 6 Apr 2005 16:05:21 -0700
On Apr 6, 2005, at 3:25 PM, Timothy Reaves wrote:
I've seen no one comment on what looks to be rather nasty: it appears
that
the only way to use CoreData is to access the values via KVC. So they
turn my objects into maps?
No it turns your description (can be graphical) of a model object into
a runtime object that can hold and persist the attributes and
relationships you described without the creation of any code.
I'm not sure I like that. KVC isn't very
pretty, nor easy to use. It is nice for some things (remember value
channels?)
Note as the documents says you can subclass NSManagedObject, so you can
add any accessors, etc. that you see the need for (it stands to reason
that they need to be KVO friendly), assuming you want explicit coded
objects to represent your data model objects.
but I'd still like my objects to be objects.
They are objects.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden