MutableArrayProtocol

public protocol MutableArrayProtocol : ArrayProtocol, MutableArrayFragment

MutableArrayProtocol protocol defines a set of methods for getting and setting array data.

Type Setters

  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setValue(_ value: Any?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setString(_ value: String?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setNumber(_ value: NSNumber?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setInt(_ value: Int, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setInt64(_ value: Int64, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setFloat(_ value: Float, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setDouble(_ value: Double, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setBoolean(_ value: Bool, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setDate(_ value: Date?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setBlob(_ value: Blob?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setArray(_ value: ArrayObject?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setDictionary(_ value: DictionaryObject?, at index: Int) -> Self

Type Appenders

  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addValue(_ value: Any?) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addString(_ value: String?) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addNumber(_ value: NSNumber?) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addInt(_ value: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addInt64(_ value: Int64) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addFloat(_ value: Float) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addDouble(_ value: Double) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addBlob(_ value: Blob?) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addBoolean(_ value: Bool) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addDate(_ value: Date?) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addArray(_ value: ArrayObject?) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func addDictionary(_ value: DictionaryObject?) -> Self

Type Inserters

  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertValue(_ value: Any?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertString(_ value: String?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertNumber(_ value: NSNumber?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertInt(_ value: Int, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertInt64(_ value: Int64, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertFloat(_ value: Float, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertDouble(_ value: Double, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertBoolean(_ value: Bool, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertDate(_ value: Date?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertBlob(_ value: Blob?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertArray(_ value: ArrayObject?, at index: Int) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func insertDictionary(_ value: DictionaryObject?, at index: Int) -> Self

Data

  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setData(_ data: Array<Any>) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func setJSON(_ json: String) throws -> Self

Removing Value

  • Undocumented

    Declaration

    Swift

    @discardableResult
    func removeValue(at index: Int) -> Self

Getting MutableArrayObject and MutableDictionaryObject