

Nextrek
@ 71
Nextrek / iOS / StoryBoard / StoryBoard / 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 |
// // AppConfig.h // bigBangProject // // Created by Fabrizio on 29/01/13. // Copyright (c) 2012 Odyssey. All rights reserved. // //#define JONGLEEN #define DIMENSIONE_PARALLELA #define SYS_VERS_7 ([[[UIDevice currentDevice] systemVersion] compare:@"7.0" options:NSNumericSearch] != NSOrderedAscending) #define APP_VERSION [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"] #define STR_ISNULL_OR_EMPTY(str) (!str || [str length]==0) #define DATAMANAGER [DataManager getInstance] #define HTTP_CALL_TIMEOUT_SECS 30 #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_WIDESCREEN ) |