Support for Objective-C blocks

Support for blocks has now been added to he RoboVM Objective-C bridge. With this change it is now possible to call Objective-C methods which takes blocks as arguments. In order to try it out you’ll need the latest nightly from download.robovm.org or the nightly build of the Eclipse plugin (use the update site at http://download.robovm.org/nightlies/eclipse/). Here’s a simple example which fades in a label: Objective-C: label.alpha = 0.0;<br />[UIControl animateWithDuration:0.5 animations:^{<br /> label.alpha = 1.0;<br />}];<br /> 1 label.alpha = 0.0;<br />[UIControl animateWithDuration:0.5 animations:^{<br...

RoboVM Maven plugin 0.0.3.1 released

Daniel Zwolenski has just released version 0.0.3.1 of the RoboVM Maven plugin. This is the first version to use the just released RoboVM 0.0.3. The RoboVM GitHub repository has a simple sample app that you can use to try it out. First of all make sure you’ve got Xcode 4.6.3 installed. Then run: git clone&nbsp;https://github.com/robovm/robovm-sample-ios-app.git<br />cd robovm-sample-ios-app<br />mvn robovm:iphone-sim 1 git clone&nbsp;https://github.com/robovm/robovm-sample-ios-app.git<br />cd robovm-sample-ios-app<br />mvn robovm:iphone-sim There’s also a robovm:ipad-sim goal that simulates an iPad. To run on a device...