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 […]

“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 […]