Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@objc final class ReviewPage: NSObject {
let properties: Page<Review.Properties>
init(_ properties: Page<Review.Properties>) { = properties
@objc var page: UInt {
@objc var totalResults: UInt {
return properties.total_results
@objc var totalPages: UInt {
return properties.total_pages
@objc public var results: [Review] {
return { Review($0) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment