Skip to content

Commit f1ed2a5

Browse files
authored
Merge pull request #1323 from ikesyo/SR-6419
2 parents df3ec55 + 56c333d commit f1ed2a5

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)