Skip to content

Instantly share code, notes, and snippets.

View freddymontano's full-sized avatar

Freddy Montano freddymontano

  • ClearlyInnovative, INC
  • Washington, DC
View GitHub Profile
@freddymontano
freddymontano / test4.js
Created July 5, 2012 19:51
Testing TableView performance using a variable (function) instead of calling Ti.UI.createTableViewRow inside the loop. (see https://gist.github.com/2989311)
var win = Ti.UI.createWindow({
backgroundColor: '#ccc'
});
win.open();
var table = Ti.UI.createTableView();
win.add(table);
var SELECTION_STYLE_BLUE = Ti.UI.iPhone.TableViewCellSelectionStyle.BLUE;