SwiftextensionFoundation
NSKeyedUnarchiver
extension NSKeyedUnarchiver
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classNSKeyedUnarchiver
Members 9
- func
static unarchiveTopLevelObjectWithData(Foundation.Data) throws -> Any? - func
static unarchivedArrayOfObjects<A where A: NSObject, A: NSSecureCoding>(ofClass: A.Type, from: Foundation.Data) throws -> [A]? - func
static unarchivedArrayOfObjects(ofClasses: [AnyObject.Type], from: Foundation.Data) throws -> [Any]? - func
static unarchivedDictionary<A, B where A: NSObject, A: NSCopying, A: NSSecureCoding, B: NSObject, B: NSSecureCoding>(ofKeyClass: A.Type, objectClass: B.Type, from: Foundation.Data) throws -> [A : B]? - func
static unarchivedDictionary(keysOfClasses: [AnyObject.Type], objectsOfClasses: [AnyObject.Type], from: Foundation.Data) throws -> [AnyHashable : Any]? - func
static unarchivedObject<A where A: NSObject, A: NSCoding>(ofClass: A.Type, from: Foundation.Data) throws -> A? - func
static unarchivedObject(ofClasses: [AnyObject.Type], from: Foundation.Data) throws -> Any? - func
decodeDecodable<A where A: Decodable>(_: A.Type, forKey: String) -> A? - func
decodeTopLevelDecodable<A where A: Decodable>(_: A.Type, forKey: String) throws -> A?
Header
extension __C.NSKeyedUnarchiver { func decodeDecodable<A>(_: A.Type, forKey: Swift.String) -> A? where A: Swift.Decodable func decodeTopLevelDecodable<A>(_: A.Type, forKey: Swift.String) throws -> A? where A: Swift.Decodable static func unarchivedObject<A>(ofClass: A.Type, from: Foundation.Data) throws -> A? where A: __C.NSObject, A: __C.NSCoding static func unarchivedObject(ofClasses: [any Swift.AnyObject.Type], from: Foundation.Data) throws -> Any? static func unarchivedDictionary<A, B>(ofKeyClass: A.Type, objectClass: B.Type, from: Foundation.Data) throws -> [A : B]? where A: __C.NSObject, A: __C.NSCopying, A: __C.NSSecureCoding, B: __C.NSObject, B: __C.NSSecureCoding static func unarchivedDictionary(keysOfClasses: [any Swift.AnyObject.Type], objectsOfClasses: [any Swift.AnyObject.Type], from: Foundation.Data) throws -> [Swift.AnyHashable : Any]? static func unarchivedArrayOfObjects<A>(ofClass: A.Type, from: Foundation.Data) throws -> [A]? where A: __C.NSObject, A: __C.NSSecureCoding static func unarchivedArrayOfObjects(ofClasses: [any Swift.AnyObject.Type], from: Foundation.Data) throws -> [Any]? static func unarchiveTopLevelObjectWithData(_: Foundation.Data) throws -> Any? }