NSDictionary
class NSDictionary : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration
-
Returns the names of the
NSDictionary
keys for which values currently exist. Keys that are not strings are ignored.Declaration
Swift
public var settingNames: [String]
Return Value
The application settings names.
-
Returns the value associated with the given
NSDictionary
key.Declaration
Swift
public func value(named name: String) -> Any?
Parameters
name
The name of the setting whose value is to be retrieved.
Return Value
The value of the setting, or
nil
if no such setting exists.