#define kImage(imgStr) ([UIImage imageNamed:imgStr])
#define kMaxOneLine(A,B) (A > B?A:B)
#define kMaxAddStr(A,B)\
({\
[NSString stringWithFormat:@"%@_%@",A,B];\
})
#define kMIN(A,B)\
({\
__typeof__(A) __a = (A);\
__typeof__(B) __b = (B);\
__a < __b ? __a : __b;\
})\
#define kAlertShow_def(deTailAlign,title,detail)\
{\
ZMAlertView *alert = [[ZMAlertView alloc]init];\
alert.showType = showTypeMiddle;\
[alert zm_AlertViewWithImgVBg:nil titleStr:title detailStr:detail];\
alert.detailLabelAlign = deTailAlign;\
ZMPopVIewBg *pop = [[ZMPopVIewBg alloc]initWithCustomView:alert];\
alert.midBtnClickBlock = ^(UIButton *btn) {\
[pop dismiss];\
};\
[pop show:YES];\
}