At 10:05 PM -0500 1/29/03, Dan Sugalski wrote:
Right, because you get back self as the first parameter to the sub,
since it's being done as a method call.  The second parameter should
be the tableview, so the code would look like:

  sub tableViewSelectionDidChange {
	my ($self, $tableview) = @_;
	NSLog("Row selected " . $tableview->selectedRow());
	return $self;
  }
That's basically the code I showed later in my note.  It gets:

  2003-01-29 20:36:08.962 Morinfo[17830] Instances of class
    NSConcreteNotification do not respond to selector selectedRow
  2003-01-29 20:36:08.984 Morinfo[17830] Row selected 0

-r
--
email: [EMAIL PROTECTED]; phone: +1 650-873-7841
http://www.cfcl.com/rdm    - my home page, resume, etc.
http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc     - Prime Time Freeware's Darwin Collection

Reply via email to