SwiftextensionCallsUtilities
extension NSUserDefaults: CallsUtilities.DefaultsProviderProtocol
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classNSUserDefaults
inherits{}
Members 8
- func
get<A where A: Decodable, A: Encodable>(codable: A.Type, forKey: String, defaultValue: A) -> A - func
get<A where A: Decodable, A: Encodable>(codable: A.Type, forKey: String) -> A? - func
get<A>(_: A.Type, forKey: String, defaultValue: A) -> A - func
get<A>(_: A.Type, forKey: String) -> A? - func
getAll<A where A: Decodable, A: Encodable>(of: A.Type) -> [String : A] - func
getAll<A>(of: A.Type) -> [String : A] - func
remove(key: String) -> () - func
set<A where A: Decodable, A: Encodable>(codable: A, forKey: String) -> ()
Header
extension __C.NSUserDefaults: CallsUtilities.DefaultsProviderProtocol {}