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