Skip to content

STRUCT

ViewControllerDescription.KindIdentifier

Describes the UIViewController type that backs the ViewControllerDescription in a way that is Equatable and Hashable. When implementing view controller updating and diffing, you can use this type to identify if the backing view controller type changed.

Methods

init(_:)

Creates a new kind for the given view controller type.

canUpdate(viewController:)

If the given view controller is of the correct type to be updated by this view controller description.

If your view controller type can change between updates, call this method before invoking update(viewController:).

hash(into:)

==(_:_:)