iOS OpenGLES in Java on RoboVM

Just pushed a first shot at implementing the CocoaTouch OpenGLES and GLKit frameworks. Still very incomplete but at least enough to get the simplest possible OpenGLES sample to work in the iOS simulator. Here’s the RoboVM Java version of the code from that tutorial: GLESDemo.java: import org.robovm.cocoatouch.coregraphics.*;<br />import org.robovm.cocoatouch.foundation.*;<br />import org.robovm.cocoatouch.glkit.*;<br />import org.robovm.cocoatouch.opengles.*;<br />import org.robovm.cocoatouch.uikit.*;<br /><br />public class GLESDemo extends UIApplicationDelegate.Adapter implements GLKViewDelegate {<br /><br...

RoboVM Interface Builder integration

I just got the question on the mailing list how to develop an iOS UI in Interface Builder and use that from a RoboVM Java app. One day I hope it will be possible to be able to fire up Interface Builder from within Eclipse and have IBOutlets and IBActions synched with the Java code but we’re not there yet. But, it turns out that it is already quite easy to develop a UI in Interface Builder and use that from Java. Here’s how: NOTE: This will not work with the 0.0.1 release. You will need to use the latest code from GitHub to get this to work. Make sure you read the docs on how to build the sources. First of all, let’s create a folder for the...