Datasource

public class Datasource : Equatable, UniqueString

Undocumented

  • Declaration

    Swift

    public static func == (lhs: Datasource, rhs: Datasource) -> Bool
  • Retrieves the query which is used to load data from the pod

    Declaration

    Swift

    var query: String?
  • Retrieves the property that is used to sort on

    Declaration

    Swift

    var sortProperty: String?
  • Retrieves whether the sort direction

    • false sort descending
    • true sort ascending

    Declaration

    Swift

    var sortAscending: Bool?
  • Retrieves the number of items per page

    Declaration

    Swift

    var pageCount: Int?
  • Undocumented

    Declaration

    Swift

    var pageIndex: Int?
  • Returns a string representation of the data in QueryOptions that is unique for that data Each QueryOptions object with the same data will return the same uniqueString

    Declaration

    Swift

    var uniqueString: String { get }
  • Undocumented

    Declaration

    Swift

    init(query: String?, sortProperty: String? = nil, sortAscending: Bool? = nil)