Skip to content

Commit 05dbce8

Browse files
committed
Merge remote-tracking branch 'origin/master' into swift-4.1-branch
2 parents 1f3b8d8 + f1ed2a5 commit 05dbce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSNotification.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ open class NotificationCenter: NSObject {
188188
})
189189
}
190190

191-
@available(*,obsoleted:4.0,renamed:"addObserver(forName:object:queue:using:)")
191+
@available(*, unavailable, renamed: "addObserver(forName:object:queue:using:)")
192192
open func addObserver(forName name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?, usingBlock block: @escaping (Notification) -> Void) -> NSObjectProtocol {
193193
return addObserver(forName: name, object: obj, queue: queue, using: block)
194194
}

0 commit comments

Comments
 (0)