Page

public struct Page : Equatable

This struct is used to represent a page via the limit and offset parameters found in various API calls.

  • The limit value for each page of results.

    Declaration

    Swift

    public let limit: Int
  • The offset value for the page.

    Declaration

    Swift

    public let offset: Int
  • Initializes the struct with a limit and offset.

    Declaration

    Swift

    public init(limit: Int, offset: Int)

    Parameters

    limit

    The number of results per page.

    offset

    The index to start the page on.