Latest 1.0.7
Homepage https://github.com/yscode001/YSConst
License MIT
Platforms ios 9.0
Frameworks UIKit
Authors

对一些常用常量的抽取

环境

swift4.2、iOS9.0

安装使用

1、导入框架

pod 'YSConst'

2、导入命名空间

import YSConst

简单介绍

提供了一个类型和三个类:YSPath、YSGlobal、YSLayout,属性名及方法都以ys_开头

特别简单,点击进入头文件查看吧^_^

Latest podspec

{
    "name": "YSConst",
    "version": "1.0.7",
    "summary": "u4e00u4e9bu5e38u7528u503cu7684u5c01u88c5",
    "homepage": "https://github.com/yscode001/YSConst",
    "license": "MIT",
    "authors": {
        "ys": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/yscode001/YSConst.git",
        "tag": "1.0.7"
    },
    "source_files": "YSConst/YSConst/YSConst/*.swift",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This