• 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: NSTableView column sort triangles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView column sort triangles


  • Subject: Re: NSTableView column sort triangles
  • From: Brian Webster <email@hidden>
  • Date: Sun, 1 Dec 2002 13:34:21 -0600

If you're running 10.2 or later, AppKit will also provide you with these images. Just use +[NSImage imageNamed:] with NSAscendingSortIndicator and NSDescendingSortIndicator. Check out the AppKit release notes for more details. Won't work under 10.1 or earlier, but it does have the advantage that it would match any future theme changes, plus it reduces your bundle size by 8 KB. :-)

On Sunday, December 1, 2002, at 10:57 AM, email@hidden wrote:

I've got an NSTableView with sorted data. I've got everything sorting
and updating properly, but I cannot figure out how to get those little
triangles to show up, the ones that show the sort direction.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSPipe or NSFileHandle buffering?
  • Next by Date: Strange NSTable notification error
  • Previous by thread: Re: NSTableView column sort triangles
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread