FSEventsWrapper
FSEventsWrapper copied to clipboard
Easily use FSEvents in Swift
= FSEventsWrapper François Lamboley [email protected]
A wrapper around FSEvents raw C APIs.
== Installation Use SPM.
== How to Use? [code,swift]
/* Using a standard callback. */ let w = FSEventStream(path: "awesome/path", callback: { stream, event in NSLog("%@", String(describing: event)) }) w?.startWatching()