文章来源:淘论文网   发布者: 毕业设计   浏览量: 25



还可以点击去查询以下关键词:
[MMActionSheet]    [介绍]    [自定义]    [毕业]    [似于]    [微信]    [UIActionSheet]    [弹出]    [组件]    [MMActionSheet介绍(自定义的类毕业似于微信的UIActionSheet弹出框组件)]   

项目介绍:

MMActionSheet

Github: MMActionSheet

Introduction

MMActionSheet 是一个简单的弹出选择框,开题报告,使用纯swift编写,论文,类似于微信的actionsheet

Rquirements

iOS 8.0+

Xcode 9 (swift 4)

current code keep on swift4

Xcode 8 (swift 3)

If you want to run demo in swift3, please switch branch to swift3.0

Installation① Cocoapods

pod 'MMActionSheet', '~> 0.0.5'

import MMActionSheet in you code

② Copy code into project

克隆代码,然后将components文件夹下面的两个文件 MMActionSheet.swift 和 MMButton.swift加入到你的项目中即可。

Usagelet buttons = [ [ 'title': '拍照', 'handler': 'camera', ],[ 'title': '相册', 'handler': 'photos', 'type': 'default' ] ] let mmActionSheet = MMActionSheet.init(title: '请选择照片', buttons: buttons, duration: nil, cancel: true) mmActionSheet.callBack = { (handler) ->() in print(handler) } mmActionSheet.present() Contacts

Github: MinMao-Hub
Email: 1286090267@qq.com

喜欢的朋友请给个星星哦【star】


这里还有:


还可以点击去查询:
[MMActionSheet]    [介绍]    [自定义]    [毕业]    [似于]    [微信]    [UIActionSheet]    [弹出]    [组件]    [MMActionSheet介绍(自定义的类毕业似于微信的UIActionSheet弹出框组件)]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/4066.docx
  • 上一篇:MMShareSheet介绍(自定义的分享毕业设计弹出框组件【类似微信支付宝】)
  • 下一篇:二维(四个方向)滚动定制视图 LQ4DirectionsScrollView