Re: NSTableView event ?
Re: NSTableView event ?
- Subject: Re: NSTableView event ?
- From: j o a r <email@hidden>
- Date: Sun, 14 Apr 2002 20:15:31 +0200
On Sunday, April 14, 2002, at 07:34 , Famille GOUREAU-SUIGNARD wrote:
soryy to bother but does anyone know what I can do to make my
application aware of any selection change in a NSTableView ?
You should RT(F)M for NSTableView (not surprisingly). Search for:
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification
What it boils down to is that you need to assign a "delegate" for the
table view, ie. an object that the table view will notify about changes,
ask permission to perform things, et.c.
Delegates are an important concept in Cocoa, and one that you should
take care to learn about.
;)
j o a r
_______________________________________________
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.