Conforms to NSObject
Declared in ViTabController.h

Overview

A document which can have multiple views.

Tasks

Instance Methods

addView:

Add a view to the set of visible views.

- (void)addView:(id<ViViewController>)viewController

Parameters

viewController

The view to add.

Declared In

ViTabController.h

cloneView:

Create a new view of the document by cloning an existing view.

- (id<ViViewController>)cloneView:(id<ViViewController>)oldView

Parameters

oldView

The view that is being cloned.

Return Value

The newly created view of the document.

Discussion

The new view is expected to inherit properties from the cloned view, such as caret location.

Declared In

ViTabController.h

isDocumentEdited

YES if the document is modified, otherwise NO.

- (BOOL)isDocumentEdited

Return Value

YES if the document is modified, otherwise NO.

Declared In

ViTabController.h

makeView

Create a new view of the document.

- (id<ViViewController>)makeView

Return Value

The newly created view of the document.

Declared In

ViTabController.h

removeView:

Remove a view from the set of visible views.

- (void)removeView:(id<ViViewController>)viewController

Parameters

viewController

The view to remove.

Declared In

ViTabController.h

views

The set of visible views of the document.

- (NSSet *)views

Return Value

The set of visible views of the document.

Declared In

ViTabController.h