YSType
自定义类型
环境
swift5.0、iOS11.0
使用步骤
1、导入框架
pod 'YSType'
2、导入命名空间
import YSType
说明
目前只提供了YSResult,其中包含有 success 和 failure 的枚举。其中包含示例小程序,详见 YSResultDemo.swift。
自定义类型
swift5.0、iOS11.0
1、导入框架
pod 'YSType'
2、导入命名空间
import YSType
目前只提供了YSResult,其中包含有 success 和 failure 的枚举。其中包含示例小程序,详见 YSResultDemo.swift。