//字符串拼接
#define kFormatStr(...) [NSString stringWithFormat:__VA_ARGS__]
//颜色RGBhttps://mp.csdn.net/
#define RGBCOLOR(r,g,b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1]
//弱引用
#define WKWeakSelf __weak typeof(self) weakSelf = self;
// 判断字符串是否为空
#define kStrIsEmpty(_ref) (((_ref) == nil) || ([(_ref) isEqual:[NSNull null]]) ||([(_ref)isEqualToString:@""]) || [(_ref)isEqualToString:@"<null>"] || [(_ref)isEqualToString:@"(null)"]|| [(_ref)isEqualToString:@"null"] || [(_ref)isEqualToString:@"\"null\""])
// 去掉空白符判断字符串是否为空
#define kStrIsEmptyWithoutBlank(_ref) (((_ref) == nil) || ([(_ref) isEqual:[NSNull null]]) ||([(_ref)isEqualToString:@""]) || [(_ref)isEqualToString:@"<null>"] || [(_ref)isEqualToString:@"(null)"]|| [(_ref)isEqualToString:@"null"] || ![[(_ref) stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length])
// 判断数组是否为空
#define kArrIsEmpty(_ref) (((_ref) == nil) || ([(_ref) isEqual:[NSNull null]]) || ([(_ref) count] == 0))
// 判断字典是否为空
#define kDicIsEmpty(_ref) (((_ref) == nil) || ([(_ref) isEqual:[NSNull null]]) || [(_ref) isEqual:@"<null>"] || [(_ref) isEqual:@"(null)"] || [(_ref) isEqual:@"null"])