bindings question
bindings question
- Subject: bindings question
- From: Oftenwrong Soong <email@hidden>
- Date: Fri, 6 Nov 2009 14:14:51 -0800 (PST)
Hi all,
I have a NSView subclass that displays a graphical representation of my model.
The model is described by some numerical values, which are entered into text fields.
As each text field is edited, the graphical representation should be redrawn to reflect the new value.
What's the most recommended way to trigger a redraw -- in other words, to cause setNeedsDisplay to be called -- whenever one of these values changes?
Thanks,
Soong
_______________________________________________
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