GlidingCollection

public class GlidingCollection : UIView

GlidingCollection control. Add as subview to your view and implement dataSource protocol.

  • Expand GlidingCollection

    Declaration

    Swift

    public func expand(at index: Int, animated: Bool = default)

    Parameters

    index

    target index

    animated

    animate changes

  • Expand next item in list

    Declaration

    Swift

    public func expandNext()
  • Expand previous item in list

    Declaration

    Swift

    public func expandPrevious()
  • Must call super if you override this method.

    Declaration

    Swift

    public func scrollViewDidScroll(_ scrollView: UIScrollView)