没有合适的资源?快使用搜索试试~ 我知道了~
EventCenter:Swift类型的安全事件通知库,例如Android的EventBus
共24个文件
swift:4个
gitkeep:2个
xcworkspacedata:2个
需积分: 9 0 下载量 61 浏览量
2021-05-13
07:03:42
上传
评论
收藏 22KB ZIP 举报
温馨提示
活动中心 EventCenter是一个快速库,类似于Android的EventBus。 观察者可以注册类型安全的处理程序(无需键入强制类型转换!),然后注销。 注册处理程序时,可以指定处理程序的运行线程。 用法 要运行示例项目,请克隆存储库,然后首先从Example目录运行pod install 。 要求 在Swift 1.2上开发 安装 可通过获得 。 要安装它,只需将以下行添加到您的Podfile中: pod "EventCenter" 例子 class ViewController: UIViewController { override func viewWillAppear(animated: Bool) { let ec = EventCenter.defaultCenter // Handlers called only when
资源推荐
资源详情
资源评论
收起资源包目录
EventCenter-master.zip (24个子文件)
EventCenter-master
.gitignore 618B
Example
.gitignore 6B
EventCenter
ViewController.swift 2KB
Info.plist 1KB
Images.xcassets
AppIcon.appiconset
Contents.json 586B
Base.lproj
LaunchScreen.xib 4KB
Main.storyboard 2KB
AppDelegate.swift 2KB
EventCenter.xcodeproj
xcshareddata
xcschemes
EventCenter-Example.xcscheme 4KB
project.xcworkspace
contents.xcworkspacedata 156B
project.pbxproj 23KB
Tests
Tests.swift 6KB
Info.plist 752B
Podfile.lock 387B
EventCenter.xcworkspace
contents.xcworkspacedata 229B
Podfile 290B
.travis.yml 602B
_Pods.xcodeproj 27B
LICENSE 1KB
README.md 2KB
Pod
Assets
.gitkeep 0B
Classes
.gitkeep 0B
EventCenter.swift 2KB
EventCenter.podspec 2KB
共 24 条
- 1
资源评论
李川雨
- 粉丝: 33
- 资源: 4579
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功