【文件属性】:
文件名称:CWActionSheet:模仿微信ActionSheet
文件大小:135KB
文件格式:ZIP
更新时间:2021-05-15 00:36:01
swift3 actionsheet Swift
CWActionSheet
仿写微信项目,需要类似微信的ActionSheet,找到比较合适OC版本,所以参照这个 完成了一个简单版本,还待完善。
目录 Contents
环境 Requirements
iOS 8.0+
Xcode 8.3+
Swift3.1
功能 Feature
模仿微信ActionSheet
支持横竖屏旋转
预览 Preview
使用 Usage
导入方法:
方法一(推荐使用)::pod 'CWActionSheet'
在相应位置导入头文件:import CWActionSheet
调用下列任意方法即可:
let clickedHandler = { (sheetView: ActionSheetView, index: Int) in
print("点击\(index)")
}
let title = "Defau
【文件预览】:
CWActionSheet-master
----Demo()
--------CWActionSheetDemo.xcodeproj()
--------CWActionSheetDemo()
----Sources()
--------Info.plist(726B)
--------ActionSheetView.swift(13KB)
--------ActionSheetCell.swift(1KB)
--------CWActionSheet.h(523B)
--------ActionSheetConfig.swift(2KB)
----.swift-version(4B)
----CWActionSheet.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(17KB)
----Preview()
--------ActionSheetDemo02.png(76KB)
--------ActionSheetDemo01.png(60KB)
----CWActionSheet.podspec(3KB)
----Tests()
--------Info.plist(701B)
--------Tests.swift(918B)
----axe()
--------Axefile.rb(1KB)
----.travis.yml(447B)
----fastlane()
--------Fastfile(3KB)
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(1KB)
----CWActionSheet.xcworkspace()
--------xcshareddata()
--------contents.xcworkspacedata(244B)