Selector runs only once
Selector runs only once
- Subject: Selector runs only once
- From: Sanri Parov <email@hidden>
- Date: Tue, 2 Sep 2003 23:50:50 +0200
Hi everybody,
I've got to deal with a simple table view in a class and I'd like it to
do something when I double click the mouse on it. I thought adding this:
- (void)awakeFromNib
{
[table_gui setTarget:self];
[table_gui setDoubleAction:@selector(mySelector)];
}
but the selector "mySelector" works only if I doubleclick on 'table'
just after the app starts, not if I do something else with the class
which controls 'table'.
I'd like it to run for the entire duration of my application.
What am I doing wrong?
--
Sanri Parov
_______________________________________________
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.