method in controller class invoked from NSView
method in controller class invoked from NSView
- Subject: method in controller class invoked from NSView
- From: Luis E! <email@hidden>
- Date: Wed, 7 Jul 2004 18:02:20 +0100 (BST)
I have a controller class and a NSView. I need to
invoke a method from the controller class with some
info from the NSView, when the user clicks on it. I
already implemented the click and I obtain the info. I
just need to invoke the method with this info as
parameters...
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.
Thanks!
___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself
http://uk.messenger.yahoo.com
_______________________________________________
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.