Created
August 19, 2019 03:31
-
-
Save kgn/2e310df0a2a7f9b50cc44fc890d58214 to your computer and use it in GitHub Desktop.
Wedding Tables
This file contains hidden or 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
| enum Food: String { | |
| case beef = "Beef" | |
| case chicken = "Chicken" | |
| case vegitarian = "Vegitarian" | |
| case kids = "Kids" | |
| } | |
| struct Person { | |
| let name: String | |
| let food: Food | |
| init(_ name: String, _ food: Food) { | |
| self.name = name | |
| self.food = food | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment