• 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: CoreData and ManagedObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData and ManagedObjects


  • Subject: Re: CoreData and ManagedObjects
  • From: "Bobby B" <email@hidden>
  • Date: Thu, 23 Mar 2006 22:04:18 -0400

On 3/23/06, mmalcolm crawford <email@hidden> wrote:
>
> On Mar 23, 2006, at 12:10 PM, Bobby B wrote:
> > I'm building a CoreData application, and I'm having some trouble
> > accessing the properties of my entities.  From what I've been reading,
> > it seems to access a CoreData entity and it's properties (as keys),
> > you do the following:
> >
> Could you please let me know what documentation you read that led you
> to believe the approach you describe below is anything like correct?
> I'm not sure how you would arrive at this conclusion from Apple's
> documentation suite.  (Lest my tone be misinterpreted here, I'm
> asking seriously.  I want to know so that if it's a problem with the
> official docs it can be remedied.)

Yikes :)  Looks like I've really made some mistakes.

I was reading this post:
http://www.cocoabuilder.com/archive/message/cocoa/2006/3/23/159412
And judging from the code he posted, and the screenshot in his second
post, it looked like I was doing the same thing as him.

You said I wasn't clear in defining how my program's architecture is
laid out.  "Girl" is the entity as defined in the .xcdatamodel (when
you start a new CoreData application, and you draw out your entities
there.)  Most of the interface uses bindings accssing the data that
CoreData handels.

What I was trying to do in that snippet of code is to replace the
value for the property "image" which is a property of my entitiy
"Girl."

Since my entity "Girl" is an NSManagedObject, I figured the above was
semi-correct.  It looks like I've been grossly mistaken?

Bobby B
 _______________________________________________
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

References: 
 >CoreData and ManagedObjects (From: "Bobby B" <email@hidden>)
 >Re: CoreData and ManagedObjects (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: menu extras
  • Next by Date: NSImage, caching and interpolation
  • Previous by thread: Re: CoreData and ManagedObjects
  • Next by thread: menu extras
  • Index(es):
    • Date
    • Thread