Swiftpack.co -  joehinkle11/iOS-File-Watcher as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A Swift Package for iOS apps that want to watch file changes in a directory
.package(url: "https://github.com/joehinkle11/iOS-File-Watcher.git", from: "1.0.0")


This code is taken entirely from Daniel Galasko's public Medium post you can find here https://medium.com/over-engineering/monitoring-a-folder-for-changes-in-ios-dc3f8614f902

I just make his code into a Swift Package so that I didn't have to copy it into my projects. Better encapsulation that way 🎉

Only modification I made was changing some access levels from internal to public.

Also it seems like it would work for MacOS, tvOS and watchOS, but I haven't tested anything other than iOS.


Stars: 0
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API