TransitioningNavigationView
public final class TransitioningNavigationView : UIView
Undocumented
-
Undocumented
Declaration
Swift
private var backButton: UIButton -
Undocumented
Declaration
Swift
private lazy var stackView: UIStackView { get set } -
Undocumented
Declaration
Swift
private lazy var titleLabel: UILabel { get set } -
Undocumented
Declaration
Swift
private lazy var backgroundView: UIView { get set } -
Undocumented
Declaration
Swift
private lazy var labelContainerView: UIView { get set } -
Undocumented
Declaration
Swift
private var titleTopConstraint: NSLayoutConstraint? -
Undocumented
Declaration
Swift
private let options: TransitioningNavigationViewOptions
-
Undocumented
Declaration
Swift
fileprivate static let bottomOffset: CGFloat -
Undocumented
Declaration
Swift
fileprivate static let labelGutter: CGFloat
-
Undocumented
Declaration
Swift
public init(options: TransitioningNavigationViewOptions, backButton: UIButton, barButtons: [UIButton]) -
Undocumented
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Transitions the alpha of the background view with the shadow.
Declaration
Swift
func transition(percent: CGFloat)Parameters
percentPercentage of the view to show.
-
Transitions the label given an offset.
Declaration
Swift
func transitionLabel(offset: CGFloat)Parameters
offsetOffset to move the label view by.
-
Sets the title of the label with tail truncation.
Declaration
Swift
func set(title: String)Parameters
titleTitle to set the label to.
-
Calculates the transition percentage with the given offset.
Declaration
Swift
func transitionPercentageWith(offset: CGFloat) -> CGFloatParameters
offsetOffset to calculate the percentage with.
Return Value
Percentage. (e.g. 0.2)
-
Undocumented
Declaration
Swift
func setupDesign() -
Undocumented
Declaration
Swift
func setupBackgroundView() -
Undocumented
Declaration
Swift
func setupLabelView() -
Undocumented
Declaration
Swift
func setupBackButton() -
Undocumented
Declaration
Swift
func setupStackView() -
Undocumented
Declaration
Swift
func maxLabelTopOffset() -> CGFloat
TransitioningNavigationView Class Reference