Skip to content

Instantly share code, notes, and snippets.

@mattyohe
Created November 29, 2014 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattyohe/0ef837a41f13debd9d87 to your computer and use it in GitHub Desktop.
Save mattyohe/0ef837a41f13debd9d87 to your computer and use it in GitHub Desktop.
private var _finished: Bool = false;
override var finished: Bool {
get {
return _finished
}
set {
if _finished != newValue {
willChangeValueForKey("isFinished")
_finished = newValue
didChangeValueForKey("isFinished")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment