FluidNavigationSourceConfigurationDelegate
public protocol FluidNavigationSourceConfigurationDelegate : FluidNavigationConfigurationDelegate
The FluidNavigationConfigurationDelegate
for the source view controller and the navigation animation.
-
navigationAllowsInteractivePresent(from:to:with:)
Default implementationThe function that determines whether an interactive present navigation can begin.
Default Implementation
Declaration
Swift
func navigationAllowsInteractivePresent(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?) -> Bool
Parameters
source
The source view controller that conforms to
FluidSourceViewController
.destination
The destination view controller that conforms to
FluidDestinationViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
Boolean
value. -
navigationPresentationStyle(from:to:with:)
Default implementationThe function that determines
FluidNavigationStyle
.Default Implementation
Declaration
Swift
func navigationPresentationStyle(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?) -> FluidNavigationStyle
Parameters
source
The source view controller that conforms to
FluidSourceViewController
.destination
The destination view controller that conforms to
FluidDestinationViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
FluidNavigationStyle
object. -
navigationBackgroundStyle(from:to:with:)
Default implementationThe function that determines
FluidBackgroundStyle
.Default Implementation
Declaration
Swift
func navigationBackgroundStyle(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?) -> FluidBackgroundStyle
Parameters
destination
The destination view controller that conforms to
FluidDestinationViewController
.source
The source view controller that conforms to
FluidSourceViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
FluidBackgroundStyle
object. -
navigationPresentEasing(from:to:with:)
Default implementationThe function that determines
FluidAnimatorEasing
for presentation navigation.Default Implementation
Declaration
Swift
func navigationPresentEasing(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?) -> FluidAnimatorEasing?
Parameters
destination
The destination view controller that conforms to
FluidDestinationViewController
.source
The source view controller that conforms to
FluidSourceViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
FluidAnimatorEasing
object. -
navigationDismissEasing(from:to:with:)
Default implementationThe function that determines
FluidAnimatorEasing
for dismissal navigation.Default Implementation
Declaration
Swift
func navigationDismissEasing(from destination: FluidDestinationViewController, to source: FluidSourceViewController, with navigation: FluidNavigationController?) -> FluidAnimatorEasing?
Parameters
destination
The destination view controller that conforms to
FluidDestinationViewController
.source
The source view controller that conforms to
FluidSourceViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
FluidAnimatorEasing
object. -
navigationPresentDuration(from:to:with:)
Default implementationThe function that determines an animation duration for presentation navigation.
Default Implementation
Declaration
Swift
func navigationPresentDuration(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?) -> TimeInterval?
Parameters
source
The source view controller that conforms to
FluidSourceViewController
.destination
The destination view controller that conforms to
FluidDestinationViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
TimeInterval
value. -
navigationDismissDuration(from:to:with:)
Default implementationThe function that determines an animation duration for dismissal navigation.
Default Implementation
Declaration
Swift
func navigationDismissDuration(from destination: FluidDestinationViewController, to source: FluidSourceViewController, with navigation: FluidNavigationController?) -> TimeInterval?
Parameters
destination
The destination view controller that conforms to
FluidDestinationViewController
.source
The source view controller that conforms to
FluidSourceViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
TimeInterval
value. -
navigationInitialDestinationFrameDimension(from:to:with:)
Default implementationThe function that determines a frame dimension at the beginning of navigation.
Default Implementation
Declaration
Swift
func navigationInitialDestinationFrameDimension(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?) -> FluidInitialFrameDimension?
Parameters
source
The source view controller that conforms to
FluidSourceViewController
.destination
The destination view controller that conforms to
FluidDestinationViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
FluidFrameDimension
value. -
navigationFinalDestinationFrameDimension(from:to:with:)
Default implementationThe function that determines a frame dimension at the end of navigation.
Default Implementation
Declaration
Swift
func navigationFinalDestinationFrameDimension(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?) -> FluidFinalFrameDimension?
Parameters
source
The source view controller that conforms to
FluidSourceViewController
.destination
The destination view controller that conforms to
FluidDestinationViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
FluidFrameDimension
object. -
navigationInitialDestinationFrameStyle(from:to:with:)
Default implementationThe function that determines frame style at the beginning of navigation.
Default Implementation
Declaration
Swift
func navigationInitialDestinationFrameStyle(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?) -> FluidInitialFrameStyle?
Parameters
source
The source view controller that conforms to
FluidSourceViewController
.destination
The destination view controller that conforms to
FluidDestinationViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
FluidFrameStyle
value. -
navigationFinalDestinationFrameStyle(from:to:with:)
Default implementationThe function that determines frame style at the end of navigation.
Default Implementation
Declaration
Swift
func navigationFinalDestinationFrameStyle(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?) -> FluidFinalFrameStyle?
Parameters
source
The source view controller that conforms to
FluidSourceViewController
.destination
The destination view controller that conforms to
FluidDestinationViewController
.navigation
The destination navigation view controller that conforms to
FluidDestinationNavigationController
.Return Value
A
FluidFrameStyle
object.
-
navigationAdditionalPresentAnimations(from:to:with:on:initialDimension:finalDimension:initialStyle:finalStyle:navigationStyle:duration:easing:)
Extension methodDeclaration
Swift
func navigationAdditionalPresentAnimations(from source: FluidSourceViewController, to destination: FluidDestinationViewController, with navigation: FluidNavigationController?, on container: UIView?, initialDimension: FluidInitialFrameDimension, finalDimension: FluidFinalFrameDimension, initialStyle: FluidInitialFrameStyle, finalStyle: FluidFinalFrameStyle, navigationStyle: FluidNavigationStyle, duration: TimeInterval, easing: FluidAnimatorEasing) -> [FluidAnimatorCompatible]?
-
navigationAdditionalDismissAnimations(from:to:with:on:initialDimension:finalDimension:initialStyle:finalStyle:navigationStyle:duration:easing:)
Extension methodDeclaration
Swift
func navigationAdditionalDismissAnimations(from destination: FluidDestinationViewController, to source: FluidSourceViewController, with navigation: FluidNavigationController?, on container: UIView?, initialDimension: FluidInitialFrameDimension, finalDimension: FluidFinalFrameDimension, initialStyle: FluidInitialFrameStyle, finalStyle: FluidFinalFrameStyle, navigationStyle: FluidNavigationStyle, duration: TimeInterval, easing: FluidAnimatorEasing) -> [FluidAnimatorCompatible]?