Classes
The following classes are available globally.
-
Object responsible for performing navigation to concrete routes, as well as keeping references to root view provider and view finder.
See moreDeclaration
Swift
open class Router -
Base class for transition objects.
See moreDeclaration
Swift
open class BaseTransition -
Class, capable of finding currently visible view, using recursive search through UIViewController, UINavigationController and UITabBarController APIs.
See moreDeclaration
Swift
open class CurrentlyVisibleViewFinder : ViewFinder -
See moreCurrentlyVisibleViewFinderthat proritizes either master or detail view controller in split view controllers. Please note that this ViewFinder should only be used for iPad interfaces that do not have collapsed UISplitViewControllers. If UISplitViewController is collapsed, it’sviewControllersproperty only returns one of two(master,detail) view controllers and therefore it’s impossible to know if one of those is a master or a detail.Declaration
Swift
open class SplitViewCurrentlyVisibleViewFinder : CurrentlyVisibleViewFinder -
Class, that encapsulates UINavigationController.pushViewController(_:animated:) method call as a transition.
See moreDeclaration
Swift
open class PushNavigationTransition : BaseTransition, ViewTransition -
Class, that encapsulates UINavigationController.popViewController(_:animated:) method call as a transition.
See moreDeclaration
Swift
open class PopNavigationTransition : BaseTransition, ViewTransition -
Class, that encapsulates UINavigationController.setViewControllers(_:animated:) method call as a transition.
See moreDeclaration
Swift
open class ReplaceNavigationTransition : BaseTransition, ViewTransition -
Undocumented
See moreDeclaration
Swift
open class PopToRootNavigationTransition : BaseTransition, ViewTransition -
Builder for
See moreUINavigationControllerinstance with array of views.Declaration
Swift
open class NavigationEmbeddingBuilder : ViewControllerBuilder -
Builder for
See moreUINavigationControllerinstance with a single embedded view. This builder keepsContextthe same asContextof embedded view builder, thus allowing building a combination of those by passing embedded view Context.Declaration
Swift
open class NavigationSingleViewEmbeddingBuilder<T> : ViewControllerBuilder where T : ViewControllerBuilder -
Class, that encapsulates UIViewController.present(_:animated:) method call as a transition.
See moreDeclaration
Swift
open class PresentationTransition : BaseTransition, ViewTransition -
Class, that encapsulates
See moreUIViewController.dismiss(animated:)method call as transitionDeclaration
Swift
open class DismissTransition : BaseTransition, ViewTransition -
Class, that implements transition for
See moreUIWindow.rootViewController.Declaration
Swift
open class RootViewTransition : ViewTransition -
Type, that is responsible for performing routing between views.
See moreDeclaration
Swift
open class Route<Builder, Transition> : Routable where Builder : ViewControllerBuilder, Transition : ViewTransition -
Subclass of
See moreRoute, that allows view to be updated instead of creating a new one to transition to.Declaration
Swift
open class UpdatingRoute<Finder: UpdatableViewFinder, Builder: ViewControllerBuilder, Transition: ViewTransition>: Route<Builder, Transition> where Builder.ViewType: ContextUpdatable, Builder.Context == Finder.ViewType.Context, Finder.Context == Builder.Context, Finder.ViewType == Builder.ViewType -
Builder for
See moreUISplitViewControllerinstance.Declaration
Swift
open class SplitViewBuilder<MasterBuilder, DetailBuilder> : ViewControllerBuilder where MasterBuilder : ViewControllerBuilder, DetailBuilder : ViewControllerBuilder -
Builder for
See moreUITabBarControllerinstance.Declaration
Swift
open class TabBarEmbeddingBuilder : ViewControllerBuilder -
See moreUpdatableViewFindertype that searches current view hierarchy to find view, that can be updated usingContext. UsesCurrentlyVisibleViewFinderto search view hierarchy for currently visible view.Declaration
Swift
open class CurrentlyVisibleUpdatableViewFinder<T> : UpdatableViewFinder where T : ViewController, T : ContextUpdatable -
View, that should not be built. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example -
PopNavigationTransition, orDismissTransition.Declaration
Swift
open class NonBuildableView : ViewController -
Builder, that is incapable of building a view and asserts when asked to do so. Can be used for transitions, that hide currently visible view and do not require a new view to be built. For example -
See morePopNavigationTransition, orDismissTransition.Declaration
Swift
open class NonBuilder : ViewControllerBuilder -
Class, that can be used to build a
See moreViewusing provided closure.Declaration
Swift
open class InstanceViewBuilder<T> : ViewControllerBuilder where T : ViewController
View on GitHub
Install in Dash
Classes Reference