André J
André J
@alioguzhan I'm at work so I just did it with github, should work the same as using gif in terminal right?: https://github.com/eonist/FileWatcher/releases/tag/0.2.1
Did you try doing `alt + cmd + del` on a file? Does this produce a delete flag?
In apples doc it says: ```swift /* * A file system object was removed at the specific path supplied in this event. * (This flag is only ever set if...
Haa! Nice method! And nice way of solving something adhock! FileObservability is definitely a bit of dark magic to cover all needs.
Proposal: Need to get rid of event.test() and do some refactoring. ```swift let fileWatcher = FileWatcher("url"){ event in switch true { case event.test(.fileChanged) : print("😊") case event.test(.dirChanged) : print("🙁") case...
@paperlib I think I have an idea to make it better. Ill try tomorrow :D
@paperlib 1. FSEventStreamEventFlags is captured 2. Determine its FileWatcherEventType which is an enum 3. Replace FileWatcherEvent.flags with `let type: FileWatcherEventType` 4. We can now have super nice `switch event.type {case...
its 04:18 in Norway, i was up all night writing this article: http://eon.codes/blog/2017/07/27/Prototyping-in-playground/ 😅 I will help you tomorrow my friend.
I could just upload the .app if you want to try it. It has some bugs but Works 😁 The build process is rather complicated ATM. I have articles on...
Cool man. Will do it tonight. An iOS app is also in the works so you can blog on the go and just pull down to sync. 🤸♀️