Array

public extension Array where Element == Any
public extension Array where Element == Double
public extension Array where Element == NSNumber
public extension Array where Element == Bool
public extension Array where Element == UInt
public extension Array where Element == Int
public extension Array where Element == String
public extension Array where Element == String?
public extension Array where Element == Date

Available where Element == Any

  • init: Initialise a [Any] from a FREObject.

    let array = [Any](argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Array

    Return Value

    [Any]?

  • toFREObject: Converts an Any Array into a FREObject of AS3 type Array.

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject

Available where Element == Double

  • init: Initialise a [Double] from a FREObject.

    let array = [Double](argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Vector.<Number>.

    Return Value

    [Double]?

  • init: Initialise a [Double] from a FREArray.

    let array = [Double](FREArray(argv[0]))
    

    Declaration

    Swift

    init?(_ freArray: FREArray)

    Parameters

    freArray

    FREArray which is of AS3 type Vector.<Number>.

    Return Value

    [Double]?

  • toFREObject: Converts a Double Array into a FREObject of AS3 type Vector.<Number>.

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject

Available where Element == NSNumber

  • init: Initialise a [NSNumber] from a FREObject.

    let array = [NSNumber](argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Vector.<Number>.

    Return Value

    [NSNumber]?

  • init: Initialise a [NSNumber] from a FREArray.

    let array = [NSNumber](FREArray(argv[0]))
    

    Declaration

    Swift

    init?(_ freArray: FREArray)

    Parameters

    freArray

    FREArray which is of AS3 type Vector.<Number>.

    Return Value

    [NSNumber]?

  • toFREObject: Converts a NSNumber Array into a FREObject of AS3 type Vector.<Number>.

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject

Available where Element == Bool

  • init: Initialise a [Bool] from a FREObject.

    let array = [Bool](argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Vector.<Boolean>.

    Return Value

    [Bool]?

  • init: Initialise a [Bool] from a FREArray.

    let array = [Bool](FREArray(argv[0]))
    

    Declaration

    Swift

    init?(_ freArray: FREArray)

    Parameters

    freArray

    FREArray which is of AS3 type Vector.

    Return Value

    [Bool]?

  • toFREObject: Converts a Bool Array into a FREObject of AS3 type Vector.<Boolean>.

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject

Available where Element == UInt

  • init: Initialise a [UInt] from a FREObject.

    let array = [UInt](argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Vector.<uint>.

    Return Value

    [UInt]?

  • init: Initialise a [UInt] from a FREArray.

    let array = [UInt](FREArray(argv[0]))
    

    Declaration

    Swift

    init?(_ freArray: FREArray)

    Parameters

    freArray

    FREArray which is of AS3 type Vector.<uint>.

    Return Value

    [UInt]?

  • toFREObject: Converts an Int Array into a FREObject of AS3 type Vector.<int>.

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject

Available where Element == Int

  • init: Initialise a [Int] from a FREObject.

    let array = [Int](argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Vector.<int>.

    Return Value

    [Int]?

  • init: Initialise a [Int] from a FREArray.

    let array = [Int](FREArray(argv[0]))
    

    Declaration

    Swift

    init?(_ freArray: FREArray)

    Parameters

    freArray

    FREArray which is of AS3 type Vector.<int>.

    Return Value

    [Int]?

  • toFREObject: Converts an Int Array into a FREObject of AS3 type Vector.<int>.

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject

Available where Element == String

  • init: Initialise a [String] from a FREObject.

    let array = [String](argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Vector.<String>.

    Return Value

    [String]?

  • init: Initialise a [String] from a FREArray.

    let array = [String](FREArray(argv[0]))
    

    Declaration

    Swift

    init?(_ freArray: FREArray)

    Parameters

    freArray

    FREArray which is of AS3 type Vector.<String>.

    Return Value

    [String]?

  • toFREObject: Converts an String Array into a FREObject of AS3 type Vector.<String>.

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject

Available where Element == String?

  • init: Initialise a [String] from a FREObject.

    let array = [String?](argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Vector.<String>.

    Return Value

    [String?]?

  • init: Initialise a [String] from a FREArray.

    let array = [String?](FREArray(argv[0]))
    

    Declaration

    Swift

    init?(_ freArray: FREArray)

    Parameters

    freArray

    FREArray which is of AS3 type Vector.<String>.

    Return Value

    [String?]?

  • toFREObject: Converts an String Array into a FREObject of AS3 type Vector.<String>.

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject

Available where Element == Date

  • init: Initialise a [Date] from a FREObject.

    let array = [Date](argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type Vector.<Date>.

    Return Value

    [Date]?

  • init: Initialise a [Date] from a FREArray.

    let array = [Date](FREArray(argv[0]))
    

    Declaration

    Swift

    init?(_ freArray: FREArray)

    Parameters

    freArray

    FREArray which is of AS3 type Vector.<Date>.

    Return Value

    [Date]?

  • toFREObject: Converts an Date Array into a FREObject of AS3 type Vector.<Date>.

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject