• 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: Communicating with NSTableView delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Communicating with NSTableView delegate


  • Subject: Re: Communicating with NSTableView delegate
  • From: Glenn Andreas <email@hidden>
  • Date: Mon, 12 Apr 2004 09:36:30 -0500

At 3:57 PM +0200 4/12/04, Stiphane Sudre wrote:
On lundi, avril 12, 2004, at 03:16 PM, aperantos lists wrote:

Hi all,

[...]

Or am I going about this all wrong, should I be doing something in IB
or be subclassing the NSTableView?

Since the NSTableView instance's delegate is also the datasource, you just have to implement tableViewSelectionDidChange in your data source class.


The delegate and the datasource for an NSTableView are two separate things, but can easily (and often are) set to the same thing - just remember to connect both outlets in IB (or you'll be pulling out your hair trying to figure out while tableView:didThis: doesn't work while tableView:somethingElse: does).

--
Glenn Andreas email@hidden mondo blobbo, Cythera, Theldrow, oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
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.


References: 
 >Re: Communicating with NSTableView delegate (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Java-Cocoa drawing -- help!
  • Next by Date: Re: OT - Translators
  • Previous by thread: Re: Communicating with NSTableView delegate
  • Next by thread: Re: Communicating with NSTableView delegate
  • Index(es):
    • Date
    • Thread