Kugel:[已弃用] NSNotificationCenter周围的精美Swift封装器

时间:2021-04-26 22:50:33
【文件属性】:
文件名称:Kugel:[已弃用] NSNotificationCenter周围的精美Swift封装器
文件大小:13KB
文件格式:ZIP
更新时间:2021-04-26 22:50:33
swift ios osx nsnotificationcenter Swift 库格尔 围绕辉煌的Swift包装器。 :warning: 不推荐使用 :warning: 该库已弃用,将不再维护。 使用Swift 3,使用NotificationCenter更简洁,因此我们建议直接使用NotificationCenter.default 。 Kugel使用NotificationCenter的唯一功能是使用notification name => selector映射一次性订阅多个事件,但这可以使用以下扩展名轻松地在您自己的代码中实现: extension NotificationCenter { func addObserver(_ observer: Any, _ namesAndSelectors: [NSNotification.Name: Selector], object: Any? = nil) { for (name, selector) in
【文件预览】:
Kugel-master
----circle.yml(36B)
----.ruby-version(6B)
----.swift-version(4B)
----Kugel.podspec(816B)
----LICENSE(1KB)
----README.md(3KB)
----.gitignore(837B)
----Kugel.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(15KB)
----CHANGELOG.md(902B)
----KugelTests()
--------Info.plist(733B)
--------KugelTests.swift(10KB)
----Kugel()
--------Kugel.swift(2KB)
--------Kugel.h(469B)
--------Info.plist(808B)

网友评论