equal
deleted
inserted
replaced
19 #endif |
19 #endif |
20 #define ALog(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__]) |
20 #define ALog(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__]) |
21 #endif |
21 #endif |
22 |
22 |
23 #define ZAssert(condition, ...) do { if (!(condition)) { ALog(__VA_ARGS__); }} while(0) |
23 #define ZAssert(condition, ...) do { if (!(condition)) { ALog(__VA_ARGS__); }} while(0) |
|
24 |
|
25 #if !__IPHONE_3_2 |
|
26 typedef enum { |
|
27 UIUserInterfaceIdiomPhone, // iPhone and iPod touch style UI |
|
28 UIUserInterfaceIdiomPad, // iPad style UI |
|
29 } UIUserInterfaceIdiom; |
|
30 #define UI_USER_INTERFACE_IDIOM() UIUserInterfaceIdiomPhone |
|
31 #define UIPopoverController id |
|
32 #endif // ifndef __IPHONE_3_2 |