NSTableView and setDoubleAction:
NSTableView and setDoubleAction:
- Subject: NSTableView and setDoubleAction:
- From: Ryan Homer <email@hidden>
- Date: Thu, 11 Jan 2007 15:35:49 -0500
(I apologize if this message comes through more than once; problems
with Mail)
I have an NSTableView with two columns and have set each column as
NOT editable in Interface Builder. In my awakeFromNib method I have:
- (void)awakeFromNib
{
.
.
.
[contactListView setDataSource:self];
[contactListView setDelegate:self];
[contactListView setDoubleAction:@selector(rowDoubleClicked:)];
}
and in the same class, I also have:
- (IBAction)rowDoubleClicked:(id)sender
{
.
.
.
}
However, when I double-click on a row, it gets highlighted but
rowDoubleClicked: never gets called.
I've also tried:
- (void)rowDoubleClicked:(id)sender
{
.
.
.
}
and that still doesn't work. What might I be missing?
Thanks!
_______________________________________________
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