Last active
August 29, 2015 14:22
-
-
Save konrad1977/a5dff3970154c5e20e60 to your computer and use it in GitHub Desktop.
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
| var daysInMonth: Int = 30 | |
| var currentYear: 2000 | |
| let months: 12 | |
| enum Sex { | |
| case Male | |
| case Female | |
| case Unknown | |
| } | |
| class Person { | |
| let firstName: String | |
| let lastName: String | |
| var sex: Sex? | |
| init(firstName: String, lastName: String) { | |
| self.firstName = firstName | |
| self.lastName = lastName | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment