CLASS
SharedDictionary
public class SharedDictionary<Key: Hashable, Value>
Wrapper class to allow pass dictionaries with a memory reference
Properties
innerDictionary
public var innerDictionary: [Key: Value]
Methods
init()
public init()
getOrPut(_:defaultValue:)
public func getOrPut(_ key: Key, defaultValue: @autoclosure () -> Value) -> Value
get(withKey:)
public func get(withKey key: Key) -> Value?