columnsInRect:
指定した範囲が含まれる列の範囲を返します
-(NSRange)columnsInRect:(NSRect)aRect:
解説
指定した範囲が含まれる列の範囲を返します。
返り値
( NSRange )
範囲
引数
( NSRect )aRect
矩形
フレームワーク
ApplicationKit
クラス
NSTableView
Instance Methods
使用可能
10.0
参照
- rowsInRect:
例文
- (IBAction)myAction:(id)sender;// { NSRange range = [table columnsInRect:NSMakeRect(0,0,30,30)]; NSLog([NSString stringWithFormat:@"%d,%d",range.location,range.length]); }