FROM : Ondra Cada
DATE : Wed Apr 27 23:37:08 2005
Joan,
On 27.4.2005, at 23:16, Joan RunTime wrote:
> Hm, For example:a window X has a textField and a button. The user
> enters <word> to the textField and hits the button. Now window Y
> should be informed of window X with the value <word>. And then window
> Z will be informed of window Y...
>
> Do you know what I try to explain?
Sure: that you have not studied Cocoa bindings yet :)
Seriously: check the examples and documentation of them. You can use
any pattern (incl. notification-based one), but unless you have special
needs, bindings are the easiest one, and they work like a charm.
---
Ondra Čada
OCSoftware: <email_removed> http://www.ocs.cz
private <email_removed> http://www.ocs.cz/oc
DATE : Wed Apr 27 23:37:08 2005
Joan,
On 27.4.2005, at 23:16, Joan RunTime wrote:
> Hm, For example:a window X has a textField and a button. The user
> enters <word> to the textField and hits the button. Now window Y
> should be informed of window X with the value <word>. And then window
> Z will be informed of window Y...
>
> Do you know what I try to explain?
Sure: that you have not studied Cocoa bindings yet :)
Seriously: check the examples and documentation of them. You can use
any pattern (incl. notification-based one), but unless you have special
needs, bindings are the easiest one, and they work like a charm.
---
Ondra Čada
OCSoftware: <email_removed> http://www.ocs.cz
private <email_removed> http://www.ocs.cz/oc
| Related mails | Author | Date |
|---|---|---|
| Joan RunTime | Apr 27, 21:14 | |
| Robert Cerny | Apr 27, 22:58 | |
| Joan RunTime | Apr 27, 23:16 | |
| Olivier Lanctôt | Apr 27, 23:24 | |
| Ondra Cada | Apr 27, 23:37 |






Cocoa mail archive

