Supporting multiple widget controllers

Update: The pull request for this feature has been accepted. If you require a widget in a XML view like this:

It generates code like this:

Let’s take a look at the code for createWidget in alloy.js:

Multiple view-controllers As you can see, the second argument specifies the controller to require from […]

Getting started with Alloy

This blog accompanies the in-depth introduction to Alloy I did at the Appcelerator Titanium Amsterdam meetup on January 28th. You can find the slides and demo code here: Slides: https://speakerdeck.com/fokkezb/alloy Demo code: https://github.com/FokkeZB/AlloyDemo Widgets code: http://github.com/FokkeZB Want to get started with Alloy? Here’s what you need: Getting it Download and install Titanium Studio 3.x Create a new […]

“Dynamic Scrolling” Titanium Alloy widget

Where would a Pull to refresh widget be without it’s companion: Dynamic Scrolling. Where the former widget allows the user to load newer content, the dynamic scrolling mechanism  allows you to scroll the table down and automatically load older content. All this can be accomplished by just 4 lines of code:

Check the code […]

“Pull to refresh” widget for Titanium Alloy

Who can live without it? The concept of pulling down a view (mostly a table) to refresh its contents can nowadays be found in almost any app. And now, you can add it to your apps using the new MVC framework Alloy for Appcelerator Titanium in just 4 lines of code:

Just pull the code from Github! Updated […]