规模:Swift中的单位转换器

时间:2021-02-19 14:53:48
【文件属性】:
文件名称:规模:Swift中的单位转换器
文件大小:507KB
文件格式:ZIP
更新时间:2021-02-19 14:53:48
swift converter ios formatter scale 规模 :red_heart: 支持我的应用 :red_heart: :red_heart: :red_heart: :smiling_face_with_halo: :smiling_face_with_heart-eyes: :sign_of_the_horns: :red_heart: :red_heart: Swift中的单位转换器 [![CI状态]( Pham / Scale.svg?style = flat)]( Pham / Scale) 用法 要运行示例项目,请克隆存储库,然后首先从Example目录运行pod install 。 特征 单元 强类型单位 除法可能会引发错误 对相同类型进行运算,结果是两者中较小的单位 let length = 5 . kilometer + 7 . meter // 5007 meter let weight = 10.0 . kilogram * 5 . gram // 50000 gram 转换为相同类型的任何单位 2 . week . to ( unit : . hour ) // 336 hour 支持
【文件预览】:
Scale-master
----.gitignore(618B)
----Screenshots()
--------Banner.png(435KB)
----Sources()
--------Time.swift(3KB)
--------Area.swift(2KB)
--------Power.swift(2KB)
--------Volume.swift(3KB)
--------Temperature.swift(3KB)
--------Metric.swift(3KB)
--------Energy.swift(2KB)
--------Error.swift(194B)
--------Length.swift(3KB)
--------Angle.swift(2KB)
--------Weight.swift(3KB)
----Example()
--------Pods()
--------Scale.xcworkspace()
--------Scale.xcodeproj()
--------Scale()
--------Tests()
--------Podfile.lock(191B)
--------Podfile(228B)
----ScaleTests()
--------Tests.swift(2KB)
--------Info-iOS.plist(733B)
--------Info-Mac.plist(733B)
----.travis.yml(484B)
----Scale.podspec(539B)
----LICENSE(1KB)
----.swift-version(4B)
----Support()
--------Script()
--------Definitions()
----README.md(3KB)
----Scale.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(29KB)
----Scale()
--------Info-iOS.plist(806B)
--------Info-Mac.plist(921B)

网友评论