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 _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]