NSTreeController and NSPopupButton(Cell)
NSTreeController and NSPopupButton(Cell)
- Subject: NSTreeController and NSPopupButton(Cell)
- From: Jeff Watkins <email@hidden>
- Date: Sun, 12 Jun 2005 16:02:53 -0400
First: I tried finding information about this in the archives, but
couldn't find the right keywords to search on.
I'm looking to create a hierarchical NSPopupButtonCell that gets its
content from an NSTreeController (containing the hierarchy of a
particular entity from my document). However, when I set things up
(and I assume I've set them up correctly) the NSPopupButtonCell won't
actually pop up, and my NSTableView is really sluggish.
Obviously, I'm doing something wrong. Any suggestions?
I've thought about creating a value formatter to add spaces before
child items in the hierarchy, but I'm not certain how I would
configure the predicate/sort descriptor to use a depth-first search.
If there's an example somewhere that I missed, please don't hesitate
to point me in the right direction...
--
Jeff Watkins
http://metrocat.org/
_______________________________________________
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