Returns the corresponding split view item for a given child view controller of the split view controller.
SDK
- macOS 10.10+
Framework
- App
Kit
Declaration
func splitViewItem(for viewController: NSView Controller) -> NSSplit View Item?
Parameters
viewController
The child view controller whose corresponding split view item you want.
Return Value
The corresponding split view item. Returns nil
if view
is not a child of the split view controller.