• 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: ADC Core Data article
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: ADC Core Data article
      • From: "Timothy Reaves" <email@hidden>
References: 
 >ADC Core Data article (From: mmalcolm crawford <email@hidden>)
 >Re: ADC Core Data article (From: Philip Mötteli <email@hidden>)
 >Re: ADC Core Data article (From: "Timothy Reaves" <email@hidden>)

  • Prev by Date: Re: ADC Core Data article
  • Next by Date: Making NSCell invisible in an NSOutlineView
  • Previous by thread: Re: ADC Core Data article
  • Next by thread: Re: ADC Core Data article
  • Index(es):
    • Date
    • Thread