Re: programmatically adding model objects to NSOultineView/NSTreeController
Re: programmatically adding model objects to NSOultineView/NSTreeController
- Subject: Re: programmatically adding model objects to NSOultineView/NSTreeController
- From: mmalc Crawford <email@hidden>
- Date: Fri, 8 Jun 2007 19:40:07 -0700
On Jun 8, 2007, at 6:18 PM, Ken Victor wrote:
i've got an NSOutlineView bound to an NSTreeController. if i
programmatically add a new child object to one of the nodes, it
works fine and displays only if the parent of the new child already
had other children. however, if i add a child to a node that didn't
previosly have any children, it is not showing up.
How are you adding the new child?
Apart from that, the proxy object should be KVC compliant.
my model objects are actually instances of NSProxy
I suspect not.
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSProxy_Class/Reference/Reference.html
>
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden