转载

[iOS] KZFileWatchers:实现本地与远程文本文件内容联动的微框架

KZFileWatchers

[iOS] KZFileWatchers:实现本地与远程文本文件内容联动的微框架

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.Local useful 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.Remote can be used to observe files on the web, it supports both Etag headers and Last-Modified-Date so you can just put file on Dropbox or real ftp server.

Installation

KZFileWatchers is available through CocoaPods . To install it, simply add the following line to your Podfile:

pod "KZFileWatchers"

Author

Krzysztof Zabłocki, krzysztof.zablocki@pixle.pl

Contributing

Contributions to KZFileWatchers are welcomed and encouraged! Please see theContributing guide.

A list of contributors is available through GitHub.

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 theCode of Conduct.

License

KZFileWatchers is available under the MIT license. SeeLICENSE for more information.

原文  https://github.com/krzysztofzablocki/KZFileWatchers
正文到此结束
Loading...