• 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: Just when I thought I understood bindings.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just when I thought I understood bindings.


  • Subject: Re: Just when I thought I understood bindings.
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 8 Oct 2008 19:29:47 -0500

On 8 Oct 2008, at 7:21 PM, Chris Idou wrote:

I've got an NSObjectController controlling an object. This content object's properties are bound to various fields on my screen.

It seems that the bindings are only working in one direction. Editing the fields updates the object, but programmatically updating the object doesn't update the gui.

I've added observers to my fields, and they are definitely notifying of changes correctly.

I haven't made much use of NSObjectController before. Can anybody think what I might be doing wrong?

Not every change to an object generates key-value observing notifications. How are you "updating the object?" Can you provide an example of your code?


	— F

--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/ >


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Just when I thought I understood bindings. (From: Chris Idou <email@hidden>)

  • Prev by Date: Re: Cocoa Programming iPing exercise
  • Next by Date: Mirror...rorriM
  • Previous by thread: Re: Just when I thought I understood bindings.
  • Next by thread: Re: Just when I thought I understood bindings.
  • Index(es):
    • Date
    • Thread