ParallaxCollectionViewCell
open class ParallaxCollectionViewCell : UICollectionViewCell, ParallaxableView
An object that provides default implementation of the parallax effect for the UICollectionViewCell
.
Most of the time you will subclass this class as you would with UICollectionViewCell
to provide custom content.
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<ParallaxCollectionViewCell>
-
Undocumented
Declaration
Swift
public override init(frame: CGRect)
-
Undocumented
Declaration
Swift
public required init?(coder aDecoder: NSCoder)
-
Override this method in your
ParallaxCollectionViewCell
subclass if you would like to provide custom setup for theparallaxEffectOptions
and/orparallaxViewActions
Declaration
Swift
open func setupParallax()
-
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)