Re: Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath
Re: Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath
- Subject: Re: Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath
- From: "Doug Knowles" <email@hidden>
- Date: Sat, 22 Jul 2006 13:15:19 -0400
On 7/21/06, Jakob Olesen <email@hidden> wrote:
NSTreeController is broken in entity mode, read more at:
http://www.cocoadev.com/index.pl?NSTreeControllerBugOrDeveloperError
It sounds like you are using class mode, though. Are you sure it
supports NSSets in class mode? I am not. Try changing your children
key path to return an array instead of an NSSet.
Hi, Jakob,
I am using NSTreeController in class mode (the objects are proxies for
heterogeneous entities); returning an array instead of a set partially
fixes the problem.
Returning an array moves the failure to outlineView:heightOfRowByItem,
but removing this method (and reverting to fixed row heights) cures
the rest of the problem. So now I have a new problem (with variable
row heights) to localize, but this is progress.
Thanks for the help!
Doug K;
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden