Appcelerator Blog

The Leading Resource for All Things Mobile

Hyperloop 1.2.0 beta for Titanium Classic, require-wildcards, better subclassing and more!

0 Flares 0 Flares ×
We recently updated our Hyperloop Examples app to the Hyperloop 1.2.0 beta. This new version contains major bugfixes and improvements we’d like to share with you:

iOS

On iOS, we fixed an issue where Swift code placed in the src directory worked on the simulator but failed on the device. We also fixed a problem with subsequent builds that caused problems on the device. Along with that, we now support both Alloy- and Classic-projects to give you the ability to use Hyperloop in (existing) legacy projects as well.

Android

On Android, we have two new features and a bugfix. We fixed an issue related to accessing fields with primitive types that couldn’t be unwrapped by Hyperloop properly. On the feature-side, we now support require-wildcards. That means, that you can require a package and all of its classes like this:
var AndroidViewPackage = require("android.view.*");

var view = new AndroidViewPackage.View();
var menu = new AndroidViewPackage.Menu();
Besides that, you can now call super-classes when sub-classing a certain Android API. See the donut chart as an example.

Usage

You can check the sample application above or build your own hyperloop-based application with the updated module on Appcelerator Labs. Also check our Hyperloop module template. If you have any questions or find a bug, feel free to reach out to us on Ti.Slack (#hyperloop) or file a JIRA-ticket. Please beware that Hyperloop is currently in Beta and should not be used in production, yet. The stable release is scheduled for the upcoming Titanium Mobile 5.4.0.GA release in June. Code strong! 🚀
0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Email -- 0 Flares ×

Sign up for updates!

Become a mobile leader. Take the first step to scale mobile innovation throughout your enterprise.
Get in touch
computer and tablet showing Appcelerator software
Start free, grow from there.
0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Email -- 0 Flares ×