Created
January 17, 2022 13:15
-
-
Save artturijalli/3cf8e1ddf9eae890a73f35fec0df0a10 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 Fruit { | |
let name: String | |
let color: String | |
} | |
var banana = Fruit(name: "Banana", color: "Yellow") | |
print(banana.name, banana.color) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment