MDPaginationFilter
public class MDPaginationFilter : Encodable
A superclass for filters used during search
-
The maximum number of results to be returned by the MangaDex API
Note
This cannot be greater than 100. Ifnil
, the API defaults to 10 resultsDeclaration
Swift
public var limit: Int?
-
The offset of the first result to be returned by the MangaDex API
This is used for paging when there are too many results to return in one response
Declaration
Swift
public var offset: Int?
-
Convenience function to create an empty filter
Declaration
Swift
public init()
-
Custom
encode
implementationDeclaration
Swift
public func encode(to encoder: Encoder) throws