Created
August 1, 2014 20:36
-
-
Save gothick/0e145487f224194f636a 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
// Playground - noun: a place where people can play | |
class Base { | |
var foo: Int = 7 | |
init() { | |
} | |
init(thisisabaseclassinit: Bool) { | |
} | |
} | |
class A : Base { | |
var isChosen = true | |
} | |
let a = A(thisisabaseclassinit: true) | |
println(a.isChosen) // Prints "true". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment