On Aug 23, 2008, at 12:41 AM, Kieren Eaton wrote:
Right so in IB I have an object which is of class "someClass" and an object controller which has the content outlet set to the "someclass" object and the keys "someString","someNumber".

The button calls the changeValues method in the delegate

The 2 textfields are bound to the controller with selection.someString and selection.someNumber respectively. upon application start the text fields are set with their respective values as per the init of the model. which shows that the bindings are working.

BUT pressing the button yields no change from the textfields. The nslog shows the model values are changing but this is not propogated to the UI.
Whats going on?
According to the Apple docs on troubleshooting bindings "The model class has automatic key-value observing enabled or implements manual key-value observing for the property." its obviously not manual so huh?

Help and clarification or discussion much appreciated.


One thing that I can think of is that you're not changing the fooClass/ someclass instance you think your controls are bound to. That would explain the log being correct while the UI does not update.

How do you create the delegate and how do you create the fooClass/ someclass instance your object controller is bound to?

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to