PaginatorProtocol

public protocol PaginatorProtocol

Undocumented

  • Undocumented

    Declaration

    Swift

    associatedtype ItemType
  • Undocumented

    Declaration

    Swift

    typealias Completion = (_ error: Error?) -> Void
  • Undocumented

    Declaration

    Swift

    var items: [ItemType] { get }
  • Undocumented

    Declaration

    Swift

    var next: Pagination { get }
  • hasNext Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var hasNext: Bool { get }
  • count Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var count: Int { get }
  • Undocumented

    Declaration

    Swift

    func reset()
  • Undocumented

    Declaration

    Swift

    func load(_ pagination: Pagination, completion: @escaping Completion)
  • loadNext(completion:) Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    func loadNext(completion: @escaping Completion)