nsobjectController notify
nsobjectController notify
- Subject: nsobjectController notify
- From: "Ahmet Taha Sakar" <email@hidden>
- Date: Thu, 19 Apr 2007 15:03:47 -0700
I have a question about bindings.
Lets say have an object and a property like
person.name = "John"
and this is binded to a text field with
[nsobjectcontroller setobject:person]
and a textfield has "name" as a binding. everything works fine until here.
I can see "John" in the text field. however when I run a code like
person.name = "Bruce"
the text field doesnt change
I need to do
[nsobjectcontroller setobject: person2];
[nsobjectcontroller setobject:person];
to see the difference. is there any way to make nsobjectcontroller notified
for the change?
Thanks,
ahmet
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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