This file contains hidden or 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
| - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
| { | |
| //.. do other setup | |
| CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height; | |
| // Transition neatly from splash screen | |
| // Very odd, on iPhone 5 you need to position the splash screen differently.. |
This file contains hidden or 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
| // | |
| // TSMiniWebBrowser.m | |
| // TSMiniWebBrowserDemo | |
| // | |
| // Created by Toni Sala Echaurren on 18/01/12. | |
| // Copyright 2012 Toni Sala. All rights reserved. | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights |
This file contains hidden or 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
| // | |
| // NetraSearchBox.m | |
| // Trip | |
| // | |
| // Created by Arie on 11/2/12. | |
| #import "NetraSearchBox.h" | |
| #import <QuartzCore/QuartzCore.h> |
This file contains hidden or 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
| //Draw the shadow for center component | |
| CGContextSetFillColorWithColor( ctx, [UIColor colorWithWhite:.1 alpha:.4].CGColor ); | |
| CGContextFillEllipseInRect( ctx, CGRectInset(self.bounds, CENTER_INSET-4, CENTER_INSET-4) ); | |
| //Draw center transparent mask | |
| CGContextSetFillColorWithColor( ctx, [UIColor clearColor].CGColor ); | |
| CGContextSetBlendMode(ctx, kCGBlendModeClear); | |
| CGContextFillEllipseInRect( ctx, CGRectInset(self.bounds, CENTER_INSET, CENTER_INSET) ); | |
This file contains hidden or 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
| // | |
| // KGModal.m | |
| // KGModal | |
| // | |
| // Created by David Keegan on 10/5/12. | |
| // Copyright (c) 2012 David Keegan. All rights reserved. | |
| // | |
| #import "KGModal.h" | |
| #import <QuartzCore/QuartzCore.h> |
This file contains hidden or 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
| #import "ImageManipulator.h" | |
| @implementation ImageManipulator | |
| static void addRoundedRectToPath(CGContextRef context, CGRect rect, float ovalWidth, float ovalHeight) | |
| { | |
| float fw, fh; | |
| if (ovalWidth == 0 || ovalHeight == 0) { | |
| CGContextAddRect(context, rect); | |
| return; |
This file contains hidden or 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 menu = require('lib/menu'); | |
| Ti.App.addEventListener('addAirplaneToTable', function(e) { | |
| closeOpen() | |
| }) | |
| var winmenu = new menu(); | |
| winmenu.open(); | |
| var menuOpen = false; |
NewerOlder