You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - Experiment: This is a draft API currently under consideration for official import into Foundation
161
+
/// - Note: This API differs from Darwin because it uses [String : Any] as a type instead of [String : AnyObject]. This allows the use of Swift value types.
/// - Experiment: This is a draft API currently under consideration for official import into Foundation
165
+
/// - Note: This API differs from Darwin because it uses [String : Any] as a type instead of [String : AnyObject]. This allows the use of Swift value types.
/// - Experiment: This is a draft API currently under consideration for official import into Foundation
169
+
/// - Note: This API differs from Darwin because it uses [String : Any] as a type instead of [String : AnyObject]. This allows the use of Swift value types.
/// - Experiment: This is a draft API currently under consideration for official import into Foundation
46
+
/// - Note: This API differs from Darwin because it uses [String : Any] as a type instead of [String : AnyObject]. This allows the use of Swift value types.
47
+
privatevar_userInfo:[String:Any]?
48
+
49
+
/// - Experiment: This is a draft API currently under consideration for official import into Foundation
50
+
/// - Note: This API differs from Darwin because it uses [String : Any] as a type instead of [String : AnyObject]. This allows the use of Swift value types.
@@ -78,12 +83,14 @@ public class NSError : NSObject, NSCopying, NSSecureCoding, NSCoding {
78
83
}
79
84
}
80
85
81
-
publicvaruserInfo:[String:AnyObject]{
86
+
/// - Experiment: This is a draft API currently under consideration for official import into Foundation
87
+
/// - Note: This API differs from Darwin because it uses [String : Any] as a type instead of [String : AnyObject]. This allows the use of Swift value types.
88
+
publicvaruserInfo:[String:Any]{
82
89
get{
83
90
iflet info = _userInfo {
84
91
return info
85
92
}else{
86
-
returnDictionary<String,AnyObject>()
93
+
returnDictionary<String,Any>()
87
94
}
88
95
}
89
96
}
@@ -116,7 +123,7 @@ public class NSError : NSObject, NSCopying, NSSecureCoding, NSCoding {
0 commit comments