You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import Foundation
|
|
|
|
protocol SimpleFileWatcherOwner: AnyObject {
|
|
var watcher: SimpleFileWatcher { get }
|
|
}
|
|
|
|
extension SimpleFileWatcherOwner {
|
|
func start() {
|
|
self.watcher.start()
|
|
}
|
|
|
|
func stop() {
|
|
self.watcher.stop()
|
|
}
|
|
}
|