setUsesDataSource:
外部データソースを使うかをセットします
-(void)setUsesDataSource:(BOOL)flag:
解説
外部データソースを使うかをセットします。
返り値
( void )
なし
引数
( BOOL )flag
YES/NO
フレームワーク
ApplicationKit
クラス
NSComboBoxCell
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [comboCell1 setUsesDataSource:YES]; NSLog([NSString stringWithFormat:@"%d",[comboCell1 numberOfVisibleItems]]); } @end