X-Git-Url: http://nitlanguage.org diff --git a/lib/ios/app.nit b/lib/ios/app.nit index b0ffb30..16f4b49 100644 --- a/lib/ios/app.nit +++ b/lib/ios/app.nit @@ -100,7 +100,7 @@ redef class App # # Nit extracts the first arguments from the `args` sequence, # so we need to add it back. That's why Nit's `args` is smaller than in C. - private fun register_args(program_name: NativeString, argc: Int, + private fun register_args(program_name: CString, argc: Int, argv: Sequence[String]) import Sequence[String].[], String.to_cstring in "ObjC" `{ app_nit_ios_argc = (int)(argc+1); @@ -178,7 +178,7 @@ redef class App # inactive state. # # Redef to undo changes made on entering the background. - fun will_enter_foreground do on_start + fun will_enter_foreground do on_restart # The application just became active # @@ -196,7 +196,6 @@ redef class App on_save_state on_pause on_stop - on_destroy end end