Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepistrol committed May 19, 2022
1 parent 69ab079 commit e92da41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions Sources/PexelsSwift/Documentation.docc/Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ I've built a simple iOS app - [PexelsBrowser](https://github.com/lukepistrol/Pex
- ``PexelsSwift/PSPhoto``
- ``PexelsSwift/PSVideo``
- ``PexelsSwift/PSCollection``
- ``PexelsSwift/PSMetaData``

### Logger

Expand Down
10 changes: 5 additions & 5 deletions Sources/PexelsSwift/Resources/PSMetaData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ public struct PSMetaData: Codable {
case nextPage = "next_page"
}
/// The current page
var page: Int
public var page: Int

/// The number of results on this page
var perPage: Int
public var perPage: Int

/// The total number of results
var totalResults: Int
public var totalResults: Int

/// The URL-Path of the previous page if available.
var previousPage: String?
public var previousPage: String?

/// The URL-Path of the next page if available.
var nextPage: String?
public var nextPage: String?
}

0 comments on commit e92da41

Please sign in to comment.