//Master View Component Constructor
function MasterView() {
	//create object instance, parasitic subclass of Observable
	var self = Ti.UI.createView({
		backgroundColor:'white'
	});

	//some dummy data for our table view
	var tableData = [
		{title:'Apples', price:'1.25', hasChild:true, color: '#000'},
		{title:'Grapes', price:'1.50', hasChild:true, color: '#000'},
		{title:'Oranges', price:'2.50', hasChild:true, color: '#000'},
		{title:'Bananas', price:'1.50', hasChild:true, color: '#000'},
		{title:'Pears', price:'1.40', hasChild:true, color: '#000'},
		{title:'Kiwis', price:'1.00', hasChild:true, color: '#000'}
	];
	
	var table = Ti.UI.createTableView({
		data:tableData
	});
	self.add(table);
	
	//add behavior
	table.addEventListener('click', function(e) {
		self.fireEvent('itemSelected', {
			name:e.rowData.title,
			price:e.rowData.price
		});
	});
	
	return self;
};

module.exports = MasterView;
@@ -176,16 +176,331 @@
 '%0A%09%7D);%0A%0A
+%09var mapview = Titanium.Map.createView(%7B%0A%09    mapType: Titanium.Map.STANDARD_TYPE,%0A%09    region: %7Blatitude:33.74511, longitude:-84.38993, %0A%09            latitudeDelta:0.01, longitudeDelta:0.01%7D,%0A%09    animate:true,%0A%09    regionFit:true,%0A%09    userLocation:true,%0A%09    height: 193,%0A%09    top: 0%0A%09%7D);%0A%09%0A%09self.add(mapview);%0A%0A
 %09//some 
@@ -935,17 +935,16 @@
 0'%7D%0A%09%5D;%0A
-%09
 %0A%09var ta
@@ -989,16 +989,43 @@
 ableData
+,%0A%09%09height: 225,%0A%09%09top: 193
 %0A%09%7D);%0A%09s

Prepare master view to hold a map and a table view