【文件属性】:
文件名称:APPropertyWrappers:有用的Swift属性包装器集合
文件大小:75KB
文件格式:ZIP
更新时间:2021-03-20 19:40:00
Swift
包装器
适用于本机Swift和RxSwift简单和复杂的属性包装器。
例子
克隆存储库,然后打开Carthage Project/APPropertyWrappers.xcodeproj
安装
迦太基
请检查
购物车文件:
github "APUtils/APPropertyWrappers" ~> 2.0
可可豆
可通过获得 。要安装它,只需将以下行添加到您的Podfile中:
pod 'APPropertyWrappers' , '~> 2.0'
要添加RxSwift属性包装器,请另外添加:
pod 'APPropertyWrappers/RxSwift' , '~> 2.0'
用法
@UserDefaultCodable (key : " ViewController_runCounter " , defaultValue : 0 )
var runCounter: Int
有
【文件预览】:
APPropertyWrappers-master
----podCheck.command(123B)
----APPropertyWrappers()
--------Assets()
--------Core()
--------RxSwift()
----APPropertyWrappers.podspec(2KB)
----Cartfile(27B)
----.cocoadocs.yml(432B)
----.travis.yml(516B)
----LICENSE(1KB)
----Carthage Project()
--------APPropertyWrappers()
--------Scripts()
--------APPropertyWrappers.xcodeproj()
--------Tests()
--------Example()
--------Carthage(11B)
--------.gitignore(12B)
----README.md(2KB)
----Cartfile.private(109B)
----checkBuild.command(1KB)
----DEPLOY PROCESS.md(345B)
----.gitignore(853B)
----podPush.command(107B)
----Cartfile.resolved(223B)
----Pods Project()
--------APPropertyWrappers()
--------Podfile.lock(910B)
--------APPropertyWrappers.xcworkspace()
--------Scripts()
--------APPropertyWrappers.xcodeproj()
--------Podfile(597B)
----CHANGELOG.md(1KB)