• 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
nsobjectController notify
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Button NSTextAttachmentCell
  • Next by Date: Re: doubleClick slop?
  • Previous by thread: Button NSTextAttachmentCell
  • Next by thread: How to show contextual menu of buttoncell in tableview?
  • Index(es):
    • Date
    • Thread