Skip navigation.
 
mlRe: Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath
FROM : Doug Knowles
DATE : Sat Jul 22 19:15:19 2006

On 7/21/06, Jakob Olesen <<email_removed>> 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;

Related mailsAuthorDate
mlException in NSTreeController:removeObjectAtArrangedObjectIndexPath Doug Knowles Jul 21, 23:07
mlRe: Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath Jakob Olesen Jul 21, 23:39
mlRe: Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath Doug Knowles Jul 22, 19:15