Skip to content

Instantly share code, notes, and snippets.

@ennioma
Created June 8, 2017 16:06
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 ennioma/0ac1fa227bfdf42398903980a19e8fa1 to your computer and use it in GitHub Desktop.
Save ennioma/0ac1fa227bfdf42398903980a19e8fa1 to your computer and use it in GitHub Desktop.
Lenses post - structs
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