• 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: TableView Event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TableView Event


  • Subject: Re: TableView Event
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 16 Apr 2007 18:47:47 -0400

On Apr 16, 2007, at 6:35 PM, hac wrote:
I have an NSTableView that I want to trigger an action when the selected row
is changed. I have no idea how to do this as I've only used event handling
where I can directly connect the objects in Interface Builder. Thanks. :)


This is discovered fairly easily by reading the documentation for NSTableView:

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSTableView_Class/index.html

  ... and the Table View Programming Guide that document links to.

A hint: Look for the -tableViewSelectionDidChange: delegate method. As to IB, hook it up just like anything else in IB -- read the documentation.

--
I.S.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >TableView Event (From: hac <email@hidden>)

  • Prev by Date: Re: Sorting Array Alphabetically
  • Next by Date: Re: TableView Event
  • Previous by thread: TableView Event
  • Next by thread: Re: TableView Event
  • Index(es):
    • Date
    • Thread