sound
ボタンを押すときの音を返します
解説
ボタンを押すときの音を返します
返り値
( NSSound * )
ボタンを押すときの音
引数
フレームワーク
ApplicationKit
クラス
NSButtonCell
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //bCell1はボタンセル NSString *string = [[bCell1 sound] name]; NSLog(string); } @end