MutableDictionaryProtocol

public protocol MutableDictionaryProtocol : DictionaryProtocol, MutableDictionaryFragment

MutableDictionaryProtocol defines a set of methods for getting and setting dictionary data.

  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setValue(_ value: Any?, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setString(_ value: String?, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setNumber(_ value: NSNumber?, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setInt(_ value: Int, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setInt64(_ value: Int64, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setFloat(_ value: Float, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setDouble(_ value: Double, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setBoolean(_ value: Bool, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setDate(_ value: Date?, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setBlob(_ value: Blob?, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setArray(_ value: ArrayObject?, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setDictionary(_ value: DictionaryObject?, forKey key: String) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setData(_ data: Dictionary<String, Any>?) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func removeValue(forKey key: String) -> Self