isDescendantOf:
ビューが同じかを返します
-(BOOL)isDescendantOf:(NSView *)aView:
解説
ビュー(aView)が同じかを返します。
同じならYESを返します。
そうでなければNOを返します。
返り値
( BOOL )
YES/NO
引数
( NSView * )aView
ビュー
フレームワーク
ApplicationKit
クラス
NSView
Instance Methods
使用可能
10.0
参照
- addSubview:
- addSubview:positioned:relativeTo:
例文
[scrollview isDescendantOf:a]