• 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
NSTreeController - canonical example? (and other related questions)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTreeController - canonical example? (and other related questions)


  • Subject: NSTreeController - canonical example? (and other related questions)
  • From: Jim Correia <email@hidden>
  • Date: Fri, 24 Mar 2006 10:17:59 -0500

Is there a canonical example of using NSTreeController (backed by data from CoreData) ?

Some questions/observations:

- It seems the drag and drop issue has been beaten to death and bugs have been filed.

- When using an array controller, a subclass can override - arrangeObjects: to supply a different sort or filter mechanism. Is there a similar mechanism for NSTreeController?

- Starting with the OutlineEdit example, I modified the nib to allow for multiple selection. When indenting multiple items (with NSZombieEnabled=YES) I get the following at runtime:

2006-03-24 09:36:42.643 OutlineEdit[21424] Exception raised during posting of notification. Ignored. exception: *** -[NSCFArray objectAtIndex:]: index (1) beyond bounds (1)
2006-03-24 09:36:42.657 OutlineEdit[21424] *** -[_NSZombie forward::] not overridden!
2006-03-24 09:36:42.722 OutlineEdit[21424] *** -[_NSZombie forward::] not overridden!


Is this a bug in the sample or NSTreeController? Is there a workaround?

- Any other gotchas to look out for?

Thanks,
Jim

_______________________________________________
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


  • Follow-Ups:
    • Re: NSTreeController - canonical example? (and other related questions)
      • From: "Pierce T. Wetter III" <email@hidden>
  • Prev by Date: Re: NSImageView in IB
  • Next by Date: Help in Disabling a menu
  • Previous by thread: Re: Pop up window ala msn messenger
  • Next by thread: Re: NSTreeController - canonical example? (and other related questions)
  • Index(es):
    • Date
    • Thread