sortDescriptorPrototype
ソートデスクリプタのプロトタイプを返します
解説
ソートデスクリプタのプロトタイプを返します。
返り値
( NSSortDescriptor * )
引数
フレームワーク
ApplicationKit
クラス
NSTableColumn
Instance Methods
使用可能
10.3
参照
-setSortDescriptorPrototype:
例文
#import "MyObject.h" @implementation MyObject //myOutlet テーブルビュー //tColumn1 テーブルコラム //tColumn2 テーブルコラム - (IBAction)myAction:(id)sender { NSSortDescriptor *descriptor=[[[NSSortDescriptor alloc] initWithKey:@"key1" ascending:NO] autorelease]; [tColumn1 setSortDescriptorPrototype:descriptor]; NSLog(@"%@",[[tColumn1 sortDescriptorPrototype] description]); } @end