Re: method in controller class invoked from NSView
Re: method in controller class invoked from NSView
- Subject: Re: method in controller class invoked from NSView
- From: Larry Fransson <email@hidden>
- Date: Wed, 7 Jul 2004 22:46:33 -0700
On Jul 7, 2004, at 10:02, Luis E! wrote:
I thought a solution could be to have a global
variable that was continually checked by the
controller class in an infinite loop and invoke the
method when the variable changes but I'm sure there's
got to be a better way.
There is. Look for "key value observing".
Larry Fransson
Seattle, WA
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.