• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath (From: "Doug Knowles" <email@hidden>)
 >Re: Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath (From: Jakob Olesen <email@hidden>)

  • Prev by Date: Re: Finding out if an NSArray's contents are all equal
  • Next by Date: Re: Finding out if an NSArray's contents are all equal
  • Previous by thread: Re: Exception in NSTreeController:removeObjectAtArrangedObjectIndexPath
  • Next by thread: ODBC
  • Index(es):
    • Date
    • Thread