RxPullToRefreshView

open class RxPullToRefreshView : UIView, RxPullToRefreshAnimatable

A base class to customize a refresh view conforming to RxPullToRefreshAnimatable.

  • A Boolean value indicating whether the view can load more content.

    Declaration

    Swift

    @objc
    open dynamic internal(set) var canLoadMore: Bool
  • A function that called each time a user performs an action.

    Declaration

    Swift

    @objc
    open dynamic func action(state: RxPullToRefreshState, progress: CGFloat, scroll: CGFloat)

    Parameters

    state

    A RxPullToRefreshState value.

    progress

    A CGFloat value indicating a progress rate. The value is limited to between 0 and 1.

    scroll

    A CGFloat value indicating a scroll rate. The value is limited to between 0 and 1.