Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Swift
public protocol AnyStateViewControllerObserver : AnyObject
-
This protocol is used by
See moreStateViewController
to animate state transitions. If you want to customize state transition animations on a per-viewcontroller basis you can make your content view controller classes conform toStateViewControllerTransitioning
, or overridestateTransitionCoordinator(for:)
on eachStateViewController
Declaration
Swift
public protocol StateViewControllerTransitionCoordinator
-
View controllers can conform to this protocol to provide their desired state transitioning behaviour when contained in a
See moreStateViewController
.Declaration
Swift
public protocol StateViewControllerTransitioning : AnyObject