sendAction
マトリックのアクションを送信します
解説
マトリックのアクションを送信します。
返り値
( BOOL )
YES/NO
引数
フレームワーク
ApplicationKit
クラス
NSMatrix
Instance Methods
使用可能
10.0
参照
-sendDoubleAction
-action (NSCell)
-target (NSCell)
例文
#import "MyObject.h" @implementation MyObject -(void)matrixact:(id)sender { [myOutlet sendAction]; } - (IBAction)myAction:(id)sender { [myOutlet setDoubleAction:@selector(doubleAction:)]; NSLog(NSStringFromSelector([myOutlet doubleAction])); } -(void)doubleAction:(id)sender { NSLog(@"!!!"); } -(void)matbut:(id)sender { NSLog(@"matbut"); } @end