ArrayProtocol

public protocol ArrayProtocol : ArrayFragment

ArrayProtocol defines a set of methods for readonly accessing array data.

  • Undocumented

    Declaration

    Swift

    var count: Int { get }
  • Undocumented

    Declaration

    Swift

    func value(at index: Int) -> Any?
  • Undocumented

    Declaration

    Swift

    func string(at index: Int) -> String?
  • Undocumented

    Declaration

    Swift

    func int(at index: Int) -> Int
  • Undocumented

    Declaration

    Swift

    func int64(at index: Int) -> Int64
  • Undocumented

    Declaration

    Swift

    func float(at index: Int) -> Float
  • Undocumented

    Declaration

    Swift

    func double(at index: Int) -> Double
  • Undocumented

    Declaration

    Swift

    func number(at index: Int) -> NSNumber?
  • Undocumented

    Declaration

    Swift

    func boolean(at index: Int) -> Bool
  • Undocumented

    Declaration

    Swift

    func blob(at index: Int) -> Blob?
  • Undocumented

    Declaration

    Swift

    func date(at index: Int) -> Date?
  • Undocumented

    Declaration

    Swift

    func array(at index: Int) -> ArrayObject?
  • Undocumented

    Declaration

    Swift

    func dictionary(at index: Int) -> DictionaryObject?
  • Undocumented

    Declaration

    Swift

    func toArray() -> Array<Any>