Inherits from NSObject
Declared in ViTabController.h

Overview

A controller of a tab.

Tasks

Other Methods

Splitting views

Properties

window

The window this tab belongs to.

@property (nonatomic, readonly) NSWindow *window

Declared In

ViTabController.h

Instance Methods

splitView:vertically:

Splits a view and displays a clone of the view.

- (id<ViViewController>)splitView:(id<ViViewController>)viewController vertically:(BOOL)isVertical

Parameters

viewController

The view that should be split.

isVertical

YES if the split is vertical, NO if horizontal.

Return Value

The new view controller or nil on failure.

Discussion

The view controller must have an associated document that can clone views.

Declared In

ViTabController.h

splitView:withView:vertically:

Splits a view and displays another view.

- (id<ViViewController>)splitView:(id<ViViewController>)viewController withView:(id<ViViewController>)newViewController vertically:(BOOL)isVertical

Parameters

viewController

The view that should be split.

newViewController

The view that should be displayed.

isVertical

YES if the split is vertical, NO if horizontal.

Return Value

newViewController or nil on failure.

Declared In

ViTabController.h