• 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
NSTableView questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView questions


  • Subject: NSTableView questions
  • From: Kurt Marek <email@hidden>
  • Date: Thu, 30 Oct 2003 19:40:42 -0800

I have a couple of newbie question about NSTableViews. I know that I can use setDoubleAction: to set what happens when a row is double-clicked, but how do I do the same for a single click (selection)? I'm trying to set up an interface similar to iTunes with most of the items simply filling another tableview with data (like Playlists do), but one of the items switching views (like Music Store does). How do I intercept when that one item has been selected and cause it to fire an action to change views?

Also, how do I get icons next to text in the same column?

Thanks,
Kurt
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTableView questions
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Animating control position
  • Next by Date: Re: Animating control position
  • Previous by thread: Re: Newbie - Finder Files Drag & Drop In Cocoa
  • Next by thread: Re: NSTableView questions
  • Index(es):
    • Date
    • Thread