Skip to content

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

License

Notifications You must be signed in to change notification settings

LinXunFeng/LXFProtocolTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

99aeb4d · May 29, 2024
Mar 18, 2023
Sep 25, 2022
May 29, 2024
Sep 15, 2018
Jul 17, 2021
Oct 20, 2018
Aug 29, 2020
Apr 7, 2018
May 29, 2024
Sep 25, 2022
Apr 7, 2018

Repository files navigation

LXFProtocolTool

Author Build Status Version License Platform visitors

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

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

iOS - Swift 面向协议编程(一) -- 【个人博客】 【掘金】 【全栈行动】

iOS - Swift 面向协议编程(二) -- 【个人博客】 【掘金】 【全栈行动】

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

Other