app/internal/window: [iOS] move logic out of GioAppDelegate

We'd like to remove GioAppDelegate when Gio is embedded with
gogio's -buildmode=archive. Minimize the code in GioAppDelegate.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-06-26 15:14:56 +02:00
parent 913a780d64
commit 79014a81d5
3 changed files with 41 additions and 39 deletions
+5
View File
@@ -309,3 +309,8 @@ func NewWindow(win Callbacks, opts *Options) error {
func Main() {
}
//export gio_runMain
func gio_runMain() {
runMain()
}