Latest 1.1.0
Homepage https://github.com/LinXunFeng/LXFProtocolTool
License MIT
Platforms ios 8.0
Authors

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目录

License

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

Author

Latest podspec

{
    "name": "LXFProtocolTool",
    "version": "1.1.0",
    "summary": "LXFProtocolToolu662fu5b9eu7528u7684u534fu8baeu5e94u7528u5de5u5177u5e93",
    "description": "LXFProtocolToolu662fu4f7fu7528Swiftu4e2du7684u534fu8baeu6765u5b9eu73b0u591au79cdu65b9u4fbfu3001u5b9eu7528u7684u5de5u5177u5e93",
    "homepage": "https://github.com/LinXunFeng/LXFProtocolTool",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "LinXunFeng": "[email protected]"
    },
    "source": {
        "git": "https://github.com/LinXunFeng/LXFProtocolTool.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.2",
    "source_files": "LXFProtocolTool/Classes/**/*.swift",
    "subspecs": [
        {
            "name": "Base",
            "source_files": "LXFProtocolTool/Classes/Base/**/*.{swift}"
        },
        {
            "name": "LXFNibloadable",
            "source_files": "LXFProtocolTool/Classes/LXFNibloadable/**/*.{swift}"
        },
        {
            "name": "Refreshable",
            "source_files": "LXFProtocolTool/Classes/Refreshable/**/*.{swift}",
            "dependencies": {
                "MJRefresh": [],
                "RxSwift": [
                    ">= 4.0.0"
                ],
                "LXFProtocolTool/AssociatedObjectStore": [],
                "LXFProtocolTool/Base": []
            }
        },
        {
            "name": "EmptyDataSetable",
            "source_files": "LXFProtocolTool/Classes/EmptyDataSetable/**/*.{swift}",
            "dependencies": {
                "DZNEmptyDataSet": [
                    ">= 1.8.1"
                ],
                "LXFProtocolTool/AssociatedObjectStore": [],
                "LXFProtocolTool/Base": []
            }
        },
        {
            "name": "RxEmptyDataSetable",
            "source_files": "LXFProtocolTool/Classes/RxEmptyDataSetable/**/*.{swift}",
            "dependencies": {
                "RxSwift": [
                    ">= 4.0.0"
                ],
                "LXFProtocolTool/EmptyDataSetable": []
            }
        },
        {
            "name": "AssociatedObjectStore",
            "source_files": "LXFProtocolTool/Classes/AssociatedObjectStore/**/*.{swift}"
        },
        {
            "name": "FullScreenable",
            "source_files": "LXFProtocolTool/Classes/FullScreenable/**/*.{swift}",
            "dependencies": {
                "LXFProtocolTool/AssociatedObjectStore": [],
                "LXFProtocolTool/Base": []
            }
        }
    ]
}

Pin It on Pinterest

Share This