Returns the closest ancestor shared by the receiver and a given view.
Original signature is '- (NSView *)ancestorSharedWithView:(NSView *)aView'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- aView (NSView)
- The view to test (along with the receiver) for closest shared ancestor.
Return Value
The closest ancestor or nil if there’s no such object. Returns self if aView is identical to the receiver.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)