NSTreeController - canonical example? (and other related questions)
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