objective c - How to call an action on double click at a custom NSCell in Cocoa? -


i have nstableview custom view cells nscell

i'm trying double click action code

  [thetableview setdoubleaction:@selector(mydoubleclick:)];  

and have method set this:

  - (void)mydoubleclick:(id)sender{  nslog(@"double click"); }  

when double click cells nothing happens , nslog not showing thing.

maybe customs cell.

any suggestions on this?

you should on ib selecting row , setting column bindings there's option co choose selector 1 of controllers.


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -