

Nextrek
@ 67
Nextrek / iOS / Emmanuele Rossi / Trickster / Trickster / AppConfig.h
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
// // AppConfig.h // Foresta // // Created by Fabrizio on 18/12/12. // Copyright (c) 2012 Odyssey. All rights reserved. // #define APP_NAME @"TRICKSTER" #define APP_VERSION [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"] #define BANNER_ID @"a151e2655dd710f" #define CreativeCommons [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"CreativeCommons" ofType:@"htm"]isDirectory:NO] #define DATAMANAGER [DataManager getInstance] #define LINK_ILLUSTRAZIONI @"http://www.kanjano.org" #define ChapterExtra [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"dopo" ofType:@"pdf"]isDirectory:NO] #define ChapterEpisodio(x) [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:[NSString stringWithFormat:@"Episodio %d", x] ofType:@"doc"]isDirectory:NO] #define AudioEpisodio(x) [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/Episodio %d.mp3", [[NSBundle mainBundle] resourcePath], x]] #define C0_DURATION_FLOAT 436 #define IS_WIDESCREEN ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON ) #define IS_IPHONE ( [ [ [ UIDevice currentDevice ] model ] isEqualToString: @"iPhone" ] ) #define IS_IPOD ( [ [ [ UIDevice currentDevice ] model ] isEqualToString: @"iPod touch" ] ) #define IS_IPHONE_5 ( /*IS_IPHONE &&*/ IS_WIDESCREEN ) |
Commits for Nextrek/iOS/Emmanuele Rossi/Trickster/Trickster/AppConfig.h
Revision | Author | Commited | Message |
---|---|---|---|
67 |
![]() |
Thu 23 Jan, 2014 14:31:55 +0000 | Emmanuele Rossi apps |