Skip to content

Commit cc366d5

Browse files
authored
Merge pull request swiftlang#1239 from ddunn2/nsdictionaryValue
2 parents 0df8945 + 13c50b6 commit cc366d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Foundation/NSDictionary.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ open class NSDictionary : NSObject, NSCopying, NSMutableCopying, NSSecureCoding,
3232
return nil
3333
}
3434

35+
open func value(forKey key: String) -> Any? {
36+
NSUnsupported()
37+
}
38+
3539
open func keyEnumerator() -> NSEnumerator {
3640
guard type(of: self) === NSDictionary.self || type(of: self) === NSMutableDictionary.self else {
3741
NSRequiresConcreteImplementation()

0 commit comments

Comments
 (0)