Skip to content

Instantly share code, notes, and snippets.

@jasdev
jasdev / Operation.swift
Created February 15, 2016 03:04
NSOperation Subclass with KVO Notifications
class Operation: NSOperation {
override var asynchronous: Bool {
return true
}
private var _executing = false {
willSet {
willChangeValueForKey("isExecuting")
}