File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "Shouter"
3- s . version = "0.2 .0"
3+ s . version = "0.3 .0"
44 s . summary = "A type safe, thread safe and memory safe alternative for NotificationCenter"
55 s . homepage = "https://github.com/ChaosCoder/Shouter"
66 s . license = { :type => 'MIT' , :file => 'LICENSE.md' }
Original file line number Diff line number Diff line change 88
99import Foundation
1010
11- public protocol NotificationRegistry {
12- func register< T> ( _ type: T . Type , observer: T )
13- func unregister< T> ( _ type: T . Type , observer: T )
14- func unregister< T> ( _ type: T . Type )
15-
16- func notify< T> ( _ type: T . Type , block: ( T ) -> Void )
17- }
18-
19- public class Shouter : NotificationRegistry {
11+ public class Shouter {
2012
2113 public static let `default` = Shouter ( )
2214
You can’t perform that action at this time.
0 commit comments