Dictionary
public extension Dictionary
-
UserDefaults Wrapper
使用
let name = dic["name", or: "哈哈哈哈"]
Declaration
Swift
subscript(key: Key, or defaultValue: Value) -> Value { get set }
ATCocoaKit Docs (100% documented)
public extension Dictionary
UserDefaults Wrapper
let name = dic["name", or: "哈哈哈哈"]
Swift
subscript(key: Key, or defaultValue: Value) -> Value { get set }