• 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: Core Data and Bindings - Problem accessing attributes of related entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data and Bindings - Problem accessing attributes of related entity


  • Subject: Re: Core Data and Bindings - Problem accessing attributes of related entity
  • From: George Orthwein <email@hidden>
  • Date: Fri, 30 Jun 2006 13:12:52 -0400

Everything you described sounds ok to me. What I'm *guessing* may be the problem is that you are creating a Person object, but that you haven't yet created the "Address" object or assigned it to the myAddress relationship. You may want to create the class files for Person and create and assign a default address in "awakeFromInsert".

I'm a big fan of option-dragging the entities to IB to create a default GUI. This will create appropriate controllers and let you examine all the attributes easily. That may also help pinpoint what is going on.

Also, you should be able to bind the "City" text field directly to the Person Array Controller -> selection -> myAddress.city. No need for the Object Controller in that case.

Hope that helps,
George

_______________________________________________
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: Core Data and Bindings - Problem accessing attributes of related entity
      • From: Andrew Madsen <email@hidden>
References: 
 >Core Data and Bindings - Problem accessing attributes of related entity (From: Andrew Madsen <email@hidden>)

  • Prev by Date: Excluding non-export file types from the Export dialog.
  • Next by Date: Re: Single selection and bindings
  • Previous by thread: Core Data and Bindings - Problem accessing attributes of related entity
  • Next by thread: Re: Core Data and Bindings - Problem accessing attributes of related entity
  • Index(es):
    • Date
    • Thread