This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Mods = require('/ModulePaths'); | |
var $$ = require(Mods.STYLES), | |
PhotosView = require(Mods.PHOTOS_TABLEVIEW); | |
module.exports = function(){ | |
var args = args || {}; | |
var win = Ti.UI.createWindow($$.appWindow); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//avoid initial slash in paths under mobileweb platform | |
var firstSeparator = (Ti.Platform.name === 'mobileweb') ? '' : '/'; | |
var ui = firstSeparator + 'app/ui/'; | |
module.exports = { | |
TABGROUP: ui + 'TabGroup', | |
WINDOW1: ui + 'Window1', | |
WINDOW2: ui + 'Window2', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)setShadow_:(id)args | |
{ | |
if(args != nil) | |
{ | |
self.layer.masksToBounds = NO; | |
if ([args objectForKey:@"shadowOffset"] != nil) { | |
CGPoint p = [TiUtils pointValue: [args objectForKey:@"shadowOffset"]]; | |
CGSize shadowOffset = {p.x,p.y}; |