addItemWithObjectValue:
コンボボックスセルの末尾にオブジェクトを加えます
-(void)addItemWithObjectValue:(id)anObject:
解説
コンボボックスセルの末尾にオブジェクトを加えます。
返り値
( void )
なし
引数
( id )anObject
オブジェクト
フレームワーク
ApplicationKit
クラス
NSComboBoxCell
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [comboCell1 addItemWithObjectValue:@"add"]; } @end