1:一句話移除父視圖所有的子視圖
[view.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
2:詳細(xì)打印
#ifdef DEBUG
# define LWXLog(fmt, ...) NSLog((@"[文件名:%s]\n" "[函數(shù)名:%s]\n" "[行號(hào):%d] \n" fmt), __FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
# define LWXLog(...);
#endif