FROM : Rob Keniger
DATE : Tue Mar 25 07:20:18 2008
On 25/03/2008, at 11:42 AM, Hamish Allan wrote:
> Is there any way to use bindings for a source list? The object that
> gets passed to the delegate method -outlineView:isGroupItem: is an
> NSTreeControllerTreeNode which doesn't appear to have a public API...
Class-dump shows that NSTreeControllerTreeNode is a subclass of
NSTreeNode so you should be able to treat it as such and get the
relevant object for the item by calling -representedObject.
--
Rob Keniger
DATE : Tue Mar 25 07:20:18 2008
On 25/03/2008, at 11:42 AM, Hamish Allan wrote:
> Is there any way to use bindings for a source list? The object that
> gets passed to the delegate method -outlineView:isGroupItem: is an
> NSTreeControllerTreeNode which doesn't appear to have a public API...
Class-dump shows that NSTreeControllerTreeNode is a subclass of
NSTreeNode so you should be able to treat it as such and get the
relevant object for the item by calling -representedObject.
--
Rob Keniger
| Related mails | Author | Date |
|---|---|---|
| Hamish Allan | Mar 25, 02:42 | |
| Rob Keniger | Mar 25, 07:20 | |
| Hamish Allan | Mar 25, 22:07 | |
| Jonathan Dann | Mar 25, 22:49 | |
| Hamish Allan | Mar 26, 01:45 | |
| Jonathan Dann | Mar 26, 20:59 |






Cocoa mail archive

