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.