iOS常用宏定义
2017-02-19 本文已影响0人
ray_1942
#define WIDTH [[UIScreen mainScreen] bounds].size.width
#define HEIGHT [[UIScreen mainScreen] bounds].size.height
#define STAND_DEFAULT(_key) [[NSUserDefaults standardUserDefaults] objectForKey:_key]
#define Stand_Default_Set_Object(_object,_key) [[NSUserDefaults standardUserDefaults] setObject:_object forKey:_key]