Skip to content

由swift中协议方式实现功能的实用工具库【Refreshable、EmptyDataSetable 支持 Rx 】

License

Notifications You must be signed in to change notification settings

nileshdeshmukh/LXFProtocolTool

 
 

Repository files navigation

LXFProtocolTool

Build Status Version License Platform

通过协议的方式来方便快捷地实现一些的实用功能,目前功能不多,往后会逐渐增加,喜欢的来个Star吧 : )

对Swift协议不熟悉的同学可以阅读以下两篇文章做下了解:

iOS - Swift 面向协议编程(一) -- 【LXF】 【掘金】 【简书】

iOS - Swift 面向协议编程(二) -- 【LXF】 【掘金】 【简书】

CocoaPods

LXFProtocolTool 支持CocoaPods:

  • 完全安装
pod 'LXFProtocolTool'

当然,也可以根据自己的需要安装指定子库

  • Xib加载
pod 'LXFProtocolTool/LXFNibloadable'
  • 空白视图
pod 'LXFProtocolTool/EmptyDataSetable'
  • 刷新控件
pod 'LXFProtocolTool/Refreshable'
  • 关联属性
pod 'LXFProtocolTool/AssociatedObjectStore'
  • 全屏
pod 'LXFProtocolTool/FullScreenable'

Usage

具体功能与使用请跳转 -- Wiki首页

Wiki目录

Article

License

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

Author

About

由swift中协议方式实现功能的实用工具库【Refreshable、EmptyDataSetable 支持 Rx 】

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 93.4%
  • Ruby 6.6%