XTInputKit 0.3.5

XTInputKit 0.3.5

Maintained by Unclaimed.



  • By
  • xt-input

XTInputKit

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod 'XTInputKit'

Author

xt-input, [email protected]

XTInputKit是一套swift版的代码集,由四部分组成

Extension

Extension是系统提供的常用类的功能扩展集。(文档不完整,请看源码)

XTITool

XTITool是个工具类集,包括单例协议(XTISharedProtocol)、钥匙串工具(XTIKeyChainTool)、常用的常量管理工具(XTIMacros)、观察者工具(XTIObserver)、计时器工具(XTITimer)、其它杂项工具(XTITool)。(文档不完整,请看源码)

XTILoger

XTILoger参考Loggerithm 感谢honghaoz,是个打印日志工具,在debug模式下会在终端窗口打印,release模式下返回构造的好的日志。可以将其保存在指定的文件并上传到自己的服务器做数据分析。

XTINetWork

XTINetWork是一个网络请求的封装,依赖AlamofireXTIObjectMapper(基于ObjectMapper,进行部分功能扩展)。它较方便的就可以发出网络请求并将返回的json数据处理成定义好的模型。

最后

文档更新会比较慢,最新修改请查看源码

有些功能扩展没有写上来,代码里有部分注释,请参考注释。

还有一些其他开发笔记之类的可以到我的博客上查看:小唐朝的blog

License

XTInputKit is available under the MIT license. See the LICENSE file for more info.