Skip to content

Instantly share code, notes, and snippets.

@natebirkholz
Created June 27, 2016 20:05
Show Gist options
  • Save natebirkholz/75004515635ceb88d6f731a2cf0f7207 to your computer and use it in GitHub Desktop.
Save natebirkholz/75004515635ceb88d6f731a2cf0f7207 to your computer and use it in GitHub Desktop.
class SuperClass {
var aBool : Bool = false {
didSet {
print(aBool)
}
}
}
class SubClass: SuperClass {
override var aBool: Bool = true {
didSet {
print("THIS is now \(aBool)")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment