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



还可以点击去查询以下关键词:
[MMShareSheet]    [介绍]    [自定义]    [分享]    [毕业]    [弹出]    [组件]    [类似]    [微信]    [支付]    [MMShareSheet介绍(自定义的分享毕业弹出框组件【类似微信支付宝】)]   

项目介绍:

MMShareSheetIntroduction

MMShareSheet 是一个简单的弹出选择框,使用纯swift编写,类似于微信(或支付宝)里面的分享(朋友圈打开网页右上角分享)控件

Rquirements

iOS 8.0+

Xcode 9 (swift 4)

Xcode 8 (swift 3)

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

InstallationInstall with Cocoapods

pod 'MMShareSheet', '~> 1.0'

import MMShareSheet in you code

Copy code into project

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

Usagelet cards = [ [ [ 'title': '微信好友', 'icon': 'wechat', 'handler': 'wxfriend' ],[ 'title': '微信朋友圈', 'icon': 'moment', 'handler': 'wxmoment' ],[ 'title': 'QQ好友', 'icon': 'qq', 'handler': 'qqfriend', ],[ 'title': '支付宝', 'icon': 'airpay', 'handler': 'airpay', ],[ 'title': '新浪微博', 'icon': 'sina', 'handler': 'sinawb', ] ],[ [ 'title': '拷贝', 'icon': 'copy_link', 'handler': 'copy' ],[ 'title': '在Safari中打开', 'icon': 'safari', 'handler': 'safari' ],[ 'title': '收藏', 'icon': 'collection', 'handler': 'collect', ],[ 'title': '刷新', 'icon': 'refresh_icon', 'handler': 'refresh', ],[ 'title': '举报', 'icon': 'jubao', 'handler': 'report', ] ] ] let cancelBtn = [ 'title': '取消', 'handler': 'cancel', 'type': 'default', ] let mmShareSheet = MMShareSheet.init(title: '此网页由wx.keeponrunning.com提供', cards: cards, duration: nil, cancelBtn: cancelBtn) mmShareSheet.callBack = { (handler) ->() in print(handler) } mmShareSheet.present()Contacts

Github: MinMao-Hub
Email: 1286090267@qq.com
喜欢的朋友们给小星星哦☆【star】

开题报告

这里还有:


还可以点击去查询:
[MMShareSheet]    [介绍]    [自定义]    [分享]    [毕业]    [弹出]    [组件]    [类似]    [微信]    [支付]    [MMShareSheet介绍(自定义的分享毕业弹出框组件【类似微信支付宝】)]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/4067.docx
  • 上一篇:【Swift】类似于微博、微信的多图浏览/查看
  • 下一篇:MMActionSheet介绍(自定义的类毕业设计似于微信的UIActionSheet弹出框组件)