Skip to content

Instantly share code, notes, and snippets.

@trupin
Last active September 24, 2018 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trupin/cfe6a89367120f29344f0177071c2fa5 to your computer and use it in GitHub Desktop.
Save trupin/cfe6a89367120f29344f0177071c2fa5 to your computer and use it in GitHub Desktop.
@objc final class Review: NSObject {
struct Properties: Decodable {
let id: String
let author: String
let content: String
let url: String
}
let properties: Properties
init(_ properties: Properties) {
self.properties = properties
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment