File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 3
3
//
4
4
// The macro is inspired from:
5
5
// http://www.yifeiyang.net/iphone-development-skills-of-the-debugging-chapter-2-save-the-log/
6
+
6
7
#ifdef DEBUG
7
8
#define debugLog (...) NSLog(__VA_ARGS__)
8
9
#define debugMethod () NSLog(@"%s", __func__)
Original file line number Diff line number Diff line change
1
+ // Author: Tang Qiao
2
+ // Date: 2012-3-3
3
+ //
4
+
5
+ // UIConstants provides contants variables for UI control.
6
+ #define UI_NAVIGATION_BAR_HEIGHT 44
7
+ #define UI_TAB_BAR_HEIGHT 49
8
+ #define UI_STATUS_BAR_HEIGHT 20
9
+ #define UI_SCREEN_WIDTH 320
10
+ #define UI_SCREEN_HEIGHT 480
11
+
12
+ #define UI_LABEL_LENGTH 200
13
+ #define UI_LABEL_HEIGHT 15
14
+ #define UI_LABEL_FONT_SIZE 12
15
+ #define UI_LABEL_FONT [UIFont systemFontOfSize:UI_LABEL_FONT_SIZE]
You can’t perform that action at this time.
0 commit comments