VRPicker:适用于以Swift编写的iOS应用的可配置选择器

时间:2021-05-14 10:59:45
【文件属性】:
文件名称:VRPicker:适用于以Swift编写的iOS应用的可配置选择器
文件大小:342KB
文件格式:ZIP
更新时间:2021-05-14 10:59:45
swift ios cocoapods picker Swift VRPicker 例子 要运行示例项目,请克隆存储库,然后首先从Example目录运行pod install 。 安装 VRPicker可通过。 要安装它,只需将以下行添加到您的Podfile中: pod "VRPicker" 用法 VRPicker类是通用的,并且接受一个类型参数,该参数必须是VRPickerItem的子类。 您在此处传递的类型将是您的商品类别。 VRPicker进行实例化的一个实例VRPickerConfiguration (其还接受一种类型的参数),和一个CGRect帧: struct PickerItem : VRPickerItem { let number: Int var description: String { return " \( number ) yrs " } } let config = VRPickerConfigur
【文件预览】:
VRPicker-master
----Assets()
--------example.gif(313KB)
----VRPicker.podspec(762B)
----VRPicker()
--------Assets()
--------Classes()
--------Resources()
----.swift-version(4B)
----.travis.yml(576B)
----LICENSE(1KB)
----_Pods.xcodeproj(27B)
----Example()
--------VRPicker()
--------Pods()
--------Podfile.lock(262B)
--------Tests()
--------Podfile(366B)
--------.swiftlint.yml(41B)
--------VRPicker.xcworkspace()
--------VRPicker.xcodeproj()
----README.md(4KB)
----.gitignore(619B)
----UIView+Extension.swift(534B)

网友评论