• 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
CoreData Tutorial bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData Tutorial bindings


  • Subject: CoreData Tutorial bindings
  • From: Boyd Collier <email@hidden>
  • Date: Wed, 27 Jul 2005 18:36:20 -0700

I've worked through much of the CoreData tutorial and got things to work properly, but ran into one problem that took some poking about to sort out. Although I've gone back through the tutorial, I can't find where I originally went astray. The problem was that the text label "Employee ID:" in the user interface didn't change properly in response to a different employee being selected in the table of employees. When the user interface is automatically created by Interface Builder following the instructions in the tutorial, 3 array controllers are created, two of which are for employees. When I used the NSTextFieldInspector for "Employee ID:" in the interface, it was bound to Employee Array Controller 2 (NSArrayController) rather than Employee Array Controller (NSArrayController). Changing this to Employee Array Controller (NSArrayController), that is, to the other NSArrayController that was automatically created, fixed the problem.

Question: Is there something in the tutorial that I missed, or is the tutorial deficient in not making explicit which NSArrayController Employee ID is supposed to be bound to? Or is the step I missed so obvious that someone more experienced with Cocoa would be expected to know it and therefore it was left out of the tutorial?

Thanks for your help.
Boyd
_______________________________________________
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: CoreData Tutorial bindings
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Reflecting image using NSAffineTransform
  • Next by Date: Re: Icon question
  • Previous by thread: Re: Bindings: Where/when should dependent keys be registered? (when class with dependent keys is subclassed)
  • Next by thread: Re: CoreData Tutorial bindings
  • Index(es):
    • Date
    • Thread