UserDefaults
extension UserDefaults
-
Undocumented
Declaration
Swift
func string(forKey defaultName: String?, orDefault defaultValue: String?) -> String? -
Undocumented
Declaration
Swift
func array(forKey defaultName: String?, orDefault defaultValue: [AnyHashable]?) -> [AnyHashable]? -
Undocumented
Declaration
Swift
func dictionary(forKey defaultName: String?, orDefault defaultValue: [AnyHashable : Any]?) -> [AnyHashable : Any]? -
Undocumented
Declaration
Swift
func data(forKey defaultName: String?, orDefault defaultValue: Data?) -> Data? -
Undocumented
Declaration
Swift
func stringArray(forKey defaultName: String?, orDefault defaultValue: [AnyHashable]?) -> [AnyHashable]? -
Undocumented
Declaration
Swift
func integer(forKey defaultName: String?, orDefault defaultValue: Int) -> Int -
Undocumented
Declaration
Swift
func float(forKey defaultName: String?, orDefault defaultValue: Float) -> Float -
Undocumented
Declaration
Swift
func double(forKey defaultName: String?, orDefault defaultValue: Double) -> Double -
Undocumented
Declaration
Swift
func bool(forKey defaultName: String?, orDefault defaultValue: Bool) -> Bool
UserDefaults Extension Reference