String
public extension String
-
init: Initialise a String from a FREObject.
let myString = String(argv[0])
Declaration
Swift
init?(_ freObject: FREObject?)
Parameters
freObject
FREObject which is of AS3 type String
Return Value
String?
-
toFREObject: Converts a String into a FREObject of AS3 type String.
let fre = "Hello".toFREObject()
Declaration
Swift
func toFREObject() -> FREObject?
Return Value
FREObject