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)

Properties

Initialization

  • 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 the parallaxEffectOptions and/or parallaxViewActions

    Declaration

    Swift

    open func setupParallax()

UIView

  • Undocumented

    Declaration

    Swift

    open override func layoutSubviews()

UIResponder

  • 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?)

UIFocusEnvironment

  • Undocumented

    Declaration

    Swift

    open override func didUpdateFocus(in context: UIFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator)