Contents

knowsPageRange(_:)

Returns a Boolean value that indicates whether the view handles page boundaries.

Declaration

func knowsPageRange(_ range: NSRangePointer) -> Bool

Parameters

  • range:

    On return, holds the page range if True is returned directly. Page numbers are one-based—that is pages run from one to N.

Return Value

true if the view handles page boundaries; otherwise, false.

Discussion

Returns false if the view uses the default auto-pagination mechanism. The default implementation returns false. Override this method if your class handles page boundaries.

See Also

Handling Pagination