Created
June 18, 2019 14:52
-
-
Save gusthavosouza/c1654797270b067e6823ef995dac657b 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 Person { | |
var about: String | |
var firstName: String | |
var lastName: String | |
var job: String | |
func printPerson() { | |
print("About \(firstName) \(lastName)") | |
print("\(about)") | |
print("May be working as \(job)") | |
} | |
} | |
let gustavo = Person(about: "I've been working as a Software Engineer. I live in a small city near to Sao Paulo city just 30 miles away. I spend most of my days working on Backend services, Mobile development (Android & iOS) and some web stuff." ,firstName: "Gustavo", lastName: "de Souza", job: "Sort of Software Engineer") | |
gustavo.printPerson() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment