#define kApp ((EWPAppDelegate *)[UIApplication sharedApplication].delegate)
#define GUID [[NSUUID UUID] UUIDString]
//设备号
#define kDevice [[[UIDeviceHardware alloc] init] platformString]
//Color
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
#define RGB(r, g, b) [UIColor colorWithRed:((r) / 255.0) green:((g) / 255.0) blue:((b) / 255.0) alpha:1.0]
#define RGBAlpha(r, g, b, a) [UIColor colorWithRed:((r) / 255.0) green:((g) / 255.0) blue:((b) / 255.0) alpha:(a)]
// 当前设备的屏幕宽度
#define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width
// 当前设备的屏幕高度
#define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height
// 最小触摸高度
#define MIN_TOUCH_HEIGHT 44
// 导航栏高度
#define NAVIGATION_BAR_HEIGHT 44
// 通知栏高度
#define NOTIFICATION_BAR_HEIGHT 20
// tabbar高度
#define TABBAR_HEIGHT 49
// 工具条高度
#define TOOLBAR_HEIGHT 55