Swiftpack.co - joehinkle11/iOS-File-Watcher as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by joehinkle11.
joehinkle11/iOS-File-Watcher 1.0.0
A Swift Package for iOS apps that want to watch file changes in a directory
⭐️ 0
🕓 2 years ago
.package(url: "https://github.com/joehinkle11/iOS-File-Watcher.git", from: "1.0.0")

iOS-File-Watcher

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.

GitHub

link
Stars: 0
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

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