TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
464 B
19 lines
464 B
<?php
|
|
|
|
/** Called by the thin UIKit application delegate after iOS finishes launching. */
|
|
function typephp_application_did_launch(): void
|
|
{
|
|
HelloApplication::build('UIKit');
|
|
ui_show_window();
|
|
}
|
|
|
|
/** Called by the UIKit target-action bridge for every activated control. */
|
|
function typephp_application_control_activated(int $controlId): void
|
|
{
|
|
HelloApplication::handleEvent($controlId);
|
|
}
|
|
|
|
function main(): void
|
|
{
|
|
ui_app_run('TypePHP iOS Hello');
|
|
}
|
|
|