UInt

public extension UInt
  • init: Initialise a UInt from a FREObject.

    let myUInt = UInt(argv[0])
    

    Declaration

    Swift

    init?(_ freObject: FREObject?)

    Parameters

    freObject

    FREObject which is of AS3 type uint

    Return Value

    UInt?

  • toFREObject: Converts a UInt into a FREObject of AS3 type uint.

    let v:UInt = 3
    let fre = v.toFREObject()
    

    Declaration

    Swift

    func toFREObject() -> FREObject?

    Return Value

    FREObject