ParallaxView
open class ParallaxView : UIView, ParallaxableView
An object that provides default implementation of the parallax effect for the UIView
.
If you will override init
method it is important to provide default setup for the unfocused state of the view
e.g. parallaxViewActions.setupUnfocusedState?(self)
-
Declaration
Swift
open var parallaxEffectOptions: ParallaxEffectOptions
-
Undocumented
Declaration
Swift
open var parallaxViewActions: ParallaxViewActions<ParallaxView>
-
Undocumented
Declaration
Swift
public override init(frame: CGRect)
-
Undocumented
Declaration
Swift
public required init?(coder aDecoder: NSCoder)
-
Override this method in your
ParallaxView
subclass if you would like to provide custom setup for theparallaxEffectOptions
and/orparallaxViewActions
Declaration
Swift
open func setupParallax()
-
Undocumented
Declaration
Swift
open override var canBecomeFocused: Bool { get }
-
Undocumented
Declaration
Swift
open override func layoutSubviews()
-
Undocumented
Declaration
Swift
open override func pressesBegan(_ presses: Set<UIPress>, with event: UIPressesEvent?)
-
Undocumented
Declaration
Swift
open override func pressesCancelled(_ presses: Set<UIPress>, with event: UIPressesEvent?)
-
Undocumented
Declaration
Swift
open override func pressesEnded(_ presses: Set<UIPress>, with event: UIPressesEvent?)
-
Undocumented
Declaration
Swift
open override func pressesChanged(_ presses: Set<UIPress>, with event: UIPressesEvent?)
-
Undocumented
Declaration
Swift
open override func didUpdateFocus(in context: UIFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator)