Created
June 8, 2017 16:06
-
-
Save ennioma/0ac1fa227bfdf42398903980a19e8fa1 to your computer and use it in GitHub Desktop.
Lenses post - structs
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 Actor { | |
let name: String | |
let surname: String | |
} | |
struct Movie { | |
let name: String | |
let year: String | |
let actors: [Actor] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment