Navigates to the specific object.
On This Page
func navigateForward(to object: Any)
The object to display.
Clears the arrangedObjects array after the selected index, adds the argument to that array, and sets the selectedIndex to the object’s index.
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.
Navigates to the selected index, which is taken from the sender.
Navigates backwards in the page controller’s arranged objects array.
Navigates to the next object in the page controller’s arranged objects array, if appropriate.