Instance Method

navigateForward(to:)

Navigates to the specific object.

Declaration

func navigateForward(to object: Any)

Parameters

object

The object to display.

Discussion

Clears the arrangedObjects array after the selected index, adds the argument to that array, and sets the selectedIndex to the object’s index.

See Also

Page Controller Items

var arrangedObjects: [Any]

An array containing the objects displayed in the page controller’s view.

var selectedIndex: Int

The currently selected object in the arranged objects array.