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;
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 mails | Author | Date |
|---|---|---|
| Doug Knowles | Jul 21, 23:07 | |
| Jakob Olesen | Jul 21, 23:39 | |
| Doug Knowles | Jul 22, 19:15 |






Cocoa mail archive

