Wouldn't it be great if we could adjust feeds and configurations of our native apps without having to sit back to Xcode, change code, recompile and navigate back to screen we were at?
One of the basis of building tools that allow us to do just that is the way we observe for data changes, this micro-framework provides you File observers for Local and Remote assets.
This framework provides:
FileWatcher.Localuseful for observing local file changes, it can also be used to breach Sandbox env for debug simulator builds and e.g. observe file on the developer desktop (like the demo app does).
FileWatcher.Remotecan be used to observe files on the web, it supports both
Last-Modified-Dateso you can just put file on Dropbox or real ftp server.
In order to install KZFileWatchers by using CocoaPods, simply add the following line to your Podfile:
Last version to support Swift 2.3 is
Swift Package Manager
Installing KZFileWatchers over SwiftPM is only supported since version 1.0.1. You just need to add it as a dependency to your Package.swift manifest:
import PackageDescription let package = Package( name: "YourTarget", dependencies: [ .Package(url: "https://github.com/krzysztofzablocki/KZFileWatchers.git", majorVersion: 1), ] )
Krzysztof Zabłocki, firstname.lastname@example.org
Contributions to KZFileWatchers are welcomed and encouraged! Please see the Contributing guide.
To give clarity of what is expected of our members, KZFileWatchers has adopted the code of conduct defined by the Contributor Covenant. This document is used across many open source communities. For more, see the Code of Conduct.
KZFileWatchers is available under the MIT license. See LICENSE for more information.