Skip to content

Instantly share code, notes, and snippets.

@barisuyar
Created November 7, 2022 13:51
Show Gist options
  • Save barisuyar/4c616979671a86657d24c0faf87929e9 to your computer and use it in GitHub Desktop.
Save barisuyar/4c616979671a86657d24c0faf87929e9 to your computer and use it in GitHub Desktop.
SW People Array
@Filtered() var people: [Person] = [
.init(name: "Luke Skywalker", height: 172, gender: "male"),
.init(name: "Darth Vader", height: 202, gender: "male"),
.init(name: "Leia Organa", height: 150, gender: "female"),
.init(name: "Owen Lars", height: 178, gender: "male"),
.init(name: "Beru Whitesun Lars", height: 165, gender: "female")
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment