RxPullToRefreshProxy

public struct RxPullToRefreshProxy<Base>

RxPullToRefresh extension for UIScrollView.

  • Base object to extend.

    Declaration

    Swift

    public let base: Base
  • Creates extensions with base object.

    Declaration

    Swift

    public init(_ base: Base)

    Parameters

    base

    Base object.

  • A function to add a RxPullToRefresh object to a UIScrollView.

    Declaration

    Swift

    func addPullToRefresh(_ pullToRefresh: RxPullToRefresh)

    Parameters

    pullToRefresh

    A RxPullToRefresh object being added to a UIScrollView.

  • A function to get a RxPullToRefresh object placed at a specific position.

    Declaration

    Swift

    func getPullToRefresh(at position: RxPullToRefreshPosition) -> RxPullToRefresh?

    Parameters

    position

    A position of RxPullToRefresh object.

    Return Value

    A RxPullToRefresh object.

  • A function to remove a RxPullToRefresh object placed at a specific position.

    Declaration

    Swift

    func removePullToRefresh(at position: RxPullToRefreshPosition)

    Parameters

    position

    A position of RxPullToRefresh object.

  • A function to remove all RxPullToRefresh objects.

    Declaration

    Swift

    func removeAllPullToRefresh()
  • A function to start refreshing a RxPullToRefresh object placed at a specific position.

    Declaration

    Swift

    func startRefreshing(at position: RxPullToRefreshPosition)

    Parameters

    position

    A position of RxPullToRefresh object.

  • A function to end refreshing a RxPullToRefresh object placed at a specific position.

    Declaration

    Swift

    func endRefreshing(at position: RxPullToRefreshPosition)

    Parameters

    position

    A position of RxPullToRefresh object.

  • A function to fail refreshing a RxPullToRefresh object placed at a specific position.

    Declaration

    Swift

    func failRefreshing(at position: RxPullToRefreshPosition)

    Parameters

    position

    A position of RxPullToRefresh object.

  • A function to end refreshing all RxPullToRefresh objects.

    Declaration

    Swift

    func endAllRefreshing()