Overriding Navigation Behaviour

Navigation logic in UIKit can be readily customized by subclassing the predefined Behaviour classes and overriding relevant events. UIKit effectively decouples navigation logic and events by distributing them into separate Behaviour classes for each page.

UIKit includes the UIKitBehaviour class, which encompasses all the behavior classes utilized by it. These classes are standard classes that expose navigation events and other events that can be overridden as permitted by UIKit.

Overriding Behaviour Class

This example illustrates how to override the Behaviour class and configure a custom Behaviour class within the UIKit framework.

Last updated