Closed UksusoFF closed 5 years ago
If we need check that file created:
import FileWatcher_macOS
let filewatcher = FileWatcher([ NSString(string: "~/Desktop").expandingTildeInPath ]) filewatcher.callback = { event in if (event.fileCreated) { print("File created here: " + event.path) } } filewatcher.start()
We got: 'fileCreated' is inaccessible due to 'internal' protection level
'fileCreated' is inaccessible due to 'internal' protection level
Aha. Probably a mistake. Permission to PR it 😊
If we need check that file created:
We got:
'fileCreated' is inaccessible due to 'internal' protection level