Skip navigation.
 
mlRe: Delegate question - send message back to controller from a view?
FROM : Nick Zitzmann
DATE : Mon Dec 31 23:29:42 2007

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/>

Related mailsAuthorDate
mlDelegate question - send message back to controller from a view? Jushin Dec 31, 23:06
mlRe: Delegate question - send message back to controller from a view? Nick Zitzmann Dec 31, 23:29
mlRe: Delegate question - send message back to controller from a view? mmalc crawford Dec 31, 23:29