Last active
January 3, 2018 16:36
-
-
Save jaumevn/ea5d140e38ba87167ab402a9fe2f2b1b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Device: Codable { | |
var name: String | |
var manufacturer: String | |
} | |
struct User: Codable { | |
var name: String | |
var username: String | |
var phoneNumber: String | |
var devices: [Device] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment