没有合适的资源?快使用搜索试试~ 我知道了~
MMX-PromiseKit
共24个文件
yml:3个
swift:3个
h:3个
需积分: 9 0 下载量 112 浏览量
2021-05-10
10:50:55
上传
评论
收藏 25KB ZIP 举报
温馨提示
MMX承诺套件 #安装 将PromiseKit类别包含在#import "MMX+PromiseKit.h" 。 #用法 大多数方法都是从回调到Promise的直接转换。 例如,要查找标签为foo频道: [MMXChannel findByTags:[NSSet setWithArray:@[@"foo"]]] .then(^(NSNumber *count, NSArray* channels){ }); 对于在执行回调之前返回messageID消息方法,将以messageID作为第一个参数,并以完成承诺作为第二个参数,返回一个promise: MMXMessage *messsage = [MMXMessage messageToChannel:someChannel messageContent:someContent]; [message send] .
资源推荐
资源详情
资源评论
收起资源包目录
MMX-PromiseKit-master.zip (24个子文件)
MMX-PromiseKit-master
MMX-PromiseKit.xcworkspace
contents.xcworkspacedata 232B
.coveralls.yml 0B
MMX-PromiseKit
Info.plist 806B
MMX_PromiseKit.h 553B
MMX_PromiseKit.swift 9KB
MMX+PromiseKit.h 2KB
MMX-PromiseKitTests-Bridging-Header.h 128B
MMX+PromiseKit.m 8KB
Casts.swift 338B
Podfile.lock 3KB
MMX-PromiseKitTests
Info.plist 733B
MMX-PromiseKit.swift 16KB
MMX-PromiseKit.m 25KB
MMX-PromiseKit.xcodeproj
xcshareddata
xcschemes
MMX-PromiseKitTests.xcscheme 4KB
MMX-PromiseKit.xcscheme 4KB
project.xcworkspace
contents.xcworkspacedata 159B
project.pbxproj 28KB
.travis.yml 529B
Podfile 304B
LICENSE 1KB
README.md 1KB
.slather.yml 125B
.gitignore 249B
MMX-PromiseKit.podspec 6KB
共 24 条
- 1
资源评论
华笠医生
- 粉丝: 34
- 资源: 4679
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功