Elements. Build native projects for any modern development platform, using the language(s) of your choice. Oxygene (Object Pascal), C#, Swift, Java, Go. | RemObjects Software

Sample-Wasm

Language: Silver, Platform: Island, Category: Delphi VCL
https://github.com/remobjects/ElementsSamples/tree/master/Silver/Island/Delphi VCL/Sample-Wasm

Program.swift

import RemObjects.Elements.RTL.Delphi
import RemObjects.Elements.RTL.Delphi.VCL

public class Program {

	@Export
	public func Main() {
		Application = TApplication(nil)
		Application.Initialize()
		Application.CreateForm(dynamicType(TForm2), &Form2)
		Application.Run()
	}
}