Re: Delegate question - send message back to controller from a view?
Re: Delegate question - send message back to controller from a view?
- Subject: Re: Delegate question - send message back to controller from a view?
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 31 Dec 2007 15:29:42 -0700
On Dec 31, 2007, at 3:06 PM, Jushin wrote:
When a function call in the NSCustomView is finished, or even in the
process, I want to print out a message to the NSTextField in the
Controller.
How can I do this?
Two ways I can think of:
1. Make a nonretained delegate in the view, and a delegate API. Have
the view call the delegate with the message (if implemented) when the
view task is done.
2. Use notifications. This is probably easier.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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