mobile-ios/CovidSafe/Feedback/Sources/Action.swift

19 lines
315 B
Swift
Raw Permalink Normal View History

2020-05-08 07:49:14 +00:00
// Copyright © 2020 Australian Government All rights reserved.
import Foundation
class Action: Operation {
override func main() {
if isCancelled {
return
}
autoreleasepool {
self.run()
}
}
func run() {
preconditionFailure("This abstract method must be overridden.")
}
}