setIdentifier:
テーブル列のIDをセットします
-(void)setIdentifier:(id)anObject:
解説
テーブル列のIDをセットします。
テーブルビューからテーブル列を探すときに使います。
返り値
( void )
なし
引数
( id )anObject
オブジェクト
フレームワーク
ApplicationKit
クラス
NSTableColumn
Instance Methods
使用可能
10.0
参照
- identifier
例文
#import "MyObject.h" @implementation MyObject //myOutlet テーブルビュー //tColumn1 テーブルコラム //tColumn2 テーブルコラム - (IBAction)myAction:(id)sender { [tColumn1 setIdentifier:@"column1"]; NSLog([tColumn1 identifier]); } @end