package {{package}};

import org.robovm.cocoatouch.foundation.NSAutoreleasePool;
import org.robovm.cocoatouch.uikit.UIApplication;

import com.badlogic.gdx.backends.iosrobovm.IOSApplication;
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;

public class {{ios-class-name}} extends IOSApplication.Delegate {
	protected IOSApplication createApplication() {
		IOSApplicationConfiguration config = new IOSApplicationConfiguration();
		return new IOSApplication(new {{class-name}}(), config);
	}

	public static void main(String[] argv) {
		NSAutoreleasePool pool = new NSAutoreleasePool();
		UIApplication.main(argv, null, {{ios-class-name}}.class);
		pool.drain();
	}
}

@@ -26,241 +26,146 @@
 ort 
-org.robovm.cocoatouch.foundation.NSAutoreleasePool;%0Aimport org.robovm.cocoatouch.uikit.UIApplication;%0A%0Aimport com.badlogic.gdx.backends.iosrobovm.IOSApplication;%0Aimport com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;
+com.badlogic.gdx.*;%0Aimport com.badlogic.gdx.backends.iosrobovm.*;%0A%0Aimport org.robovm.apple.foundation.*;%0Aimport org.robovm.apple.uikit.*;%0A
 %0A%0Apu
@@ -578,13 +578,13 @@
 ool.
-drain
+close
 ();%0A

Update java game template for RoboVM 0.0.11