Array

struct Array<Element> : RandomAccessCollection, MutableCollection
  • Removes object from the array with validation of availablity

    Parameter

    Parameter object: Element to delete

    Declaration

    Swift

    public mutating func removeObject(_ object: Element)

    Parameters

    object

    Element to delete

  • Removes array elemets form the array

    Parameter

    Parameter array: Elements of array to delete

    Declaration

    Swift

    public mutating func removeObjectsInArray(_ array: [Element])

    Parameters

    array

    Elements of array to delete

  • Returns JSON String

    Declaration

    Swift

    public func toJSONString() -> String?
  • Returns JSON Data

    Declaration

    Swift

    public func toJSONData() -> Data?