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 moreCurrentlyVisibleViewFinder
that 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’sviewControllers
property 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 moreUINavigationController
instance with array of views.Declaration
Swift
open class NavigationEmbeddingBuilder : ViewControllerBuilder
-
Builder for
See moreUINavigationController
instance with a single embedded view. This builder keepsContext
the same asContext
of 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 moreUISplitViewController
instance.Declaration
Swift
open class SplitViewBuilder<MasterBuilder, DetailBuilder> : ViewControllerBuilder where MasterBuilder : ViewControllerBuilder, DetailBuilder : ViewControllerBuilder
-
Builder for
See moreUITabBarController
instance.Declaration
Swift
open class TabBarEmbeddingBuilder : ViewControllerBuilder
-
See moreUpdatableViewFinder
type that searches current view hierarchy to find view, that can be updated usingContext
. UsesCurrentlyVisibleViewFinder
to 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 moreView
using provided closure.Declaration
Swift
open class InstanceViewBuilder<T> : ViewControllerBuilder where T : ViewController