This commit is contained in:
John Rommel Estropia
2015-02-21 21:14:19 +09:00
parent 23f09fe5a6
commit 061a863235
21 changed files with 248 additions and 258 deletions

View File

@@ -30,11 +30,13 @@ import Foundation
internal final class NotificationObserver {
// MARK: Public
let notificationName: String
let object: AnyObject?
let observer: NSObjectProtocol
init(notificationName: String, object: AnyObject?, closure: (note: NSNotification!) -> ()) {
init(notificationName: String, object: AnyObject?, closure: (note: NSNotification!) -> Void) {
self.notificationName = notificationName
self.object = object