isExpandable:
アウトラインビューが展開可能かを返します
-(BOOL)isExpandable:(id)item:
解説
アウトラインビューが展開可能ならYESを返します。
アイテム(item)は含むことができる他のアイテム。
返り値
( BOOL )
YES/NO
引数
( id )item
項目
フレームワーク
ApplicationKit
クラス
NSOutlineView
Instance Methods
使用可能
10.0
参照
- expandItem:
- isItemExpanded:
例文
if ([outlineView isExpandable]){ NSLog(@"YES"); }else{ NSLog(@"NO"); }