Contents

NSTextViewportLayoutController

Manages the layout process inside the viewport interacting with its delegate.

Declaration

class NSTextViewportLayoutController

Overview

A viewport is a rectangular area within a flipped coordinate system expanding along the y-axis. With text contents, lines advance expanding the view in the current writing direction. The viewport defines the active area where the framework lays out text fragments. In most cases, the area corresponds to the user visible area with an additional over-scroll region.

Topics

Creating a viewport layout controller

Accessing the layout manager

Responding to changes in viewport layout

Accessing the viewport characteristics

See Also

Layout