Self KVO...
Self KVO...
- Subject: Self KVO...
- From: Randy Widell <email@hidden>
- Date: Thu, 09 Oct 2014 20:56:39 -0700
I’m not sure I am having a hard time figuring this out and I am just not finding anything via Google. I am writing a NSTextFieldCell subclass and I want to recalculate the size whenever the string value changes via a binding. What I can’t seem to figure out is how to observe the change. I could register each instance with itself for change notifications, but that just seems like an odd way to go about it. Seems like it should be possible to just override setValue:forKeyPath:, but that never seems to be called.
Any suggestions would be welcome.
_______________________________________________
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