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/>
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 mails | Author | Date |
|---|---|---|
| Jushin | Dec 31, 23:06 | |
| Nick Zitzmann | Dec 31, 23:29 | |
| mmalc crawford | Dec 31, 23:29 |






Cocoa mail archive

