public static RoboPlatform register (UIWindow window, Config config) {
    RoboViewController ctrl = new RoboViewController(window.getBounds(), config);
    window.setRootViewController(ctrl);
    return ctrl.platform();
  }
public static RoboPlatform register ( UIWindow window , Config config ) { RoboViewController ctrl = new RoboViewController ( window . getBounds ( ) , config ) ; window . setRootViewController ( ctrl ) ; return ctrl . platform ( ) ; }
Registers the RoboVM platform for operation in {@code window}.

<p>This basically just sets the root view controller of the supplied window and that view
controller manages everything else. If you wish to embed a PlayN game in a larger iOS app, or
to customize PlayN more deeply, create a {@link RoboViewController} yourself and include it in
your app wherever you like.