setUsesAlternatingRowBackgroundColors:
1行ごとに背景色を変えるかをセットします
解説
1行ごとに背景色を変えるかをセットします。
変える場合はYESをセットします。
返り値
( void )
なし
引数
フレームワーク
ApplicationKit
クラス
NSTableView
Instance Methods
使用可能
10.3
参照
-usesAlternatingRowBackgroundColors
例文
[table setUsesAlternatingRowBackgroundColors:YES]; ([table usesAlternatingRowBackgroundColors]) ? NSLog(@"YES") : NSLog(@"NO");