• 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: Binding not updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding not updating


  • Subject: Re: Binding not updating
  • From: mmalc Crawford <email@hidden>
  • Date: Sat, 16 Jul 2005 00:29:13 -0700


On Jul 15, 2005, at 10:49 PM, Charilaos Skiadas wrote:
On Jul 16, 2005, at 12:39 AM, Marcus S. Zarra wrote:

However, when I change the relationship in Object A to point to a
different instance of Object B via the setValue:forKey method the text
fields do not get updated in the GUI. If I close the window and
reload it then it displays the updated data just fine.
Is there something I am missing that turns on the auto update? It is
my understanding from my reading that the update would be automatic
and that this is what the bindings are for?

Have you enabled the "automatically updates content" in the attributes inspector of the controller? If you created the first controller by dragging an entity from the model, it was automatically set for you, but if you created the controller from IB, then it would not have been set.



"Automatically prepares content" is not relevant in this case -- everything should be properly synchronised using bindings.


I can't offhand think of any fundamental reason why this should not be working. It sounds like something (probably a binding) is mis- configured somewhere...

mmalc

_______________________________________________
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: Binding not updating
      • From: "Marcus S. Zarra" <email@hidden>
References: 
 >Binding not updating (From: "Marcus S. Zarra" <email@hidden>)
 >Re: Binding not updating (From: Charilaos Skiadas <email@hidden>)

  • Prev by Date: Re: Binding not updating
  • Next by Date: Re: Preventing flicker on moving NSView to a different superview
  • Previous by thread: Re: Binding not updating
  • Next by thread: Re: Binding not updating
  • Index(es):
    • Date
    • Thread