Latest 1.0.8
Homepage https://github.com/yscode001/YSTool
License MIT
Platforms ios 10.0
Frameworks UIKit, UserNotifications
Authors

对一些常用工具的封装

环境

swift5.0、iOS10.0

安装使用

1、导入框架

pod 'YSTool'

2、导入命名空间

import YSTool

简单介绍

1、YSUserDefaults:

里面都是类方法,YSUserDefaults.ys_,方法名都是以ys_开头

2、YSNotification:

里面都是类方法,YSNotification.ys_,方法名都是以ys_开头

Latest podspec

{
    "name": "YSTool",
    "version": "1.0.8",
    "summary": "u4e00u4e9bu5e38u7528u5de5u5177u7684u5c01u88c5",
    "homepage": "https://github.com/yscode001/YSTool",
    "license": "MIT",
    "authors": {
        "ys": "[email protected]m"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/yscode001/YSTool.git",
        "tag": "1.0.8"
    },
    "source_files": "YSTool/YSTool/YSTool/*.swift",
    "frameworks": [
        "UIKit",
        "UserNotifications"
    ]
}

Pin It on Pinterest

Share This