We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9827bc7 commit 388ac2bCopy full SHA for 388ac2b
caravel/EventBus.swift
@@ -41,6 +41,13 @@ public class EventBus: NSObject, UIWebViewDelegate {
41
UIWebViewDelegateMediator.subscribe(self.webView!, subscriber: self)
42
}
43
44
+ /**
45
+ * Current name
46
+ */
47
+ public var name: String {
48
+ return self.dispatcher!.name
49
+ }
50
+
51
internal func getReference() -> AnyObject? {
52
return self.reference
53
@@ -208,7 +215,6 @@ public class EventBus: NSObject, UIWebViewDelegate {
208
215
209
216
/**
210
217
* Unregisters subscriber from bus
211
- * @param subscriber Should be the same one than provided when registering.
212
218
*/
213
219
public func unregister() {
214
220
self.dispatcher!.deleteBus(self)
0 commit comments