• 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 and NSPopupButton(Cell)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Stopwatch
  • Next by Date: Re: NSTextView setRulerVisible: weirdness
  • Previous by thread: Re: -[NSDocument fileWrapperOfType:error:]
  • Next by thread: menu question
  • Index(es):
    • Date
    • Thread