analyzing code! • Less lecture/more step-by-step, hands-on guide • Slides and code will be made available for future reference • We will be testing on iOS, everything run on Android with some minor adjustments to the TSS
Free and Open Source • Beta Stage and under heavy development • Makes writing Titanium Apps Super Easy (it actually feels like building a website) • Widgets and themes
var w=Alloy.createController('win2').getView(); w.open(); } $.index.open(); VIEWS/WIN2.XML STYLES/WIN2.TSS "#container":{ backgroundColor: "#000" }, "#thelabel":{ height: Ti.UI.SIZE, width: Ti.UI.SIZE, color: "#fff" } <Alloy> <Window id="container"> <Label id="thelabel" onClick="closeme">I'm Window 2</Label> </Window> </Alloy> CONTROLLERS/WIN2.JS function closeme(){ $.container.close(); } At this point, w is a Titanium Window Object Example 1