FROM : Nick Zitzmann
DATE : Thu Aug 03 20:56:21 2006
On Aug 3, 2006, at 12:36 PM, Paul Verity wrote:
> Given that the notification object gives me a reference the the
> TableView that posted the notification, how come I can't implement
> the behaviour via a notification?
Because you must override NSTableView's internal handling of the
delegate method and send a modified NSNotification back to the
superclass' implementation in order to get the desired effect. Just
listening for the notification will not override NSTableView's
internal handling of the delegate.
Nick Zitzmann
<http://www.chronosnet.com/>
DATE : Thu Aug 03 20:56:21 2006
On Aug 3, 2006, at 12:36 PM, Paul Verity wrote:
> Given that the notification object gives me a reference the the
> TableView that posted the notification, how come I can't implement
> the behaviour via a notification?
Because you must override NSTableView's internal handling of the
delegate method and send a modified NSNotification back to the
superclass' implementation in order to get the desired effect. Just
listening for the notification will not override NSTableView's
internal handling of the delegate.
Nick Zitzmann
<http://www.chronosnet.com/>
| Related mails | Author | Date |
|---|---|---|
| Paul Verity | Aug 3, 15:58 | |
| Nick Zitzmann | Aug 3, 18:43 | |
| Matt Neuburg | Aug 3, 20:17 | |
| Paul Verity | Aug 3, 20:36 | |
| Matt Neuburg | Aug 3, 20:47 | |
| Nick Zitzmann | Aug 3, 20:56 | |
| Paul Verity | Aug 3, 21:31 |






Cocoa mail archive

