Last active
September 14, 2018 10:29
-
-
Save farzadshbfn/563cc1963f7964c7cf9c2cfc7a3d98b5 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 UserProfile { | |
let name: String | |
let lastName: String | |
let cellNumber: String | |
let email: String? | |
} | |
extension UserProfile { | |
var fullName: String { | |
return name + " " + cellNumber | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment