Skip to content

Instantly share code, notes, and snippets.

@jhaynie
Created July 26, 2014 01:19
Show Gist options
  • Save jhaynie/92dc5a572e8689b22cbd to your computer and use it in GitHub Desktop.
Save jhaynie/92dc5a572e8689b22cbd to your computer and use it in GitHub Desktop.
Simple Titanium View
var w = Ti.UI.createWindow();
var v = Ti.UI.createView({backgroundColor:'white'});
w.add(v);
var t = Ti.UI.createLabel({text:'It works!'});
v.add(t);
w.open();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment