IOSAnimation
来源:互联网 发布:linux 修改系统字符集 编辑:程序博客网 时间:2024/06/02 06:36
#ifdef DEBUG
#define DLog(...) NSLog(@"%s(%x) %@", __PRETTY_FUNCTION__, self, [NSString stringWithFormat:__VA_ARGS__])
#define ALog(...) [[NSAssertionHandler currentHandler] handleFailureInFunction:[NSString stringWithCString:__PRETTY_FUNCTION__ encoding:NSUTF8StringEncoding] file:[NSString stringWithCString:__FILE__ encoding:NSUTF8StringEncoding] lineNumber:__LINE__ description:__VA_ARGS__]
#else
#define DLog(...) do { } while (0)
#ifndef NS_BLOCK_ASSERTIONS
#define NS_BLOCK_ASSERTIONS
#endif
#define ALog(...) NSLog(@"%s(%x) %@", __PRETTY_FUNCTION__, self, [NSString stringWithFormat:__VA_ARGS__])
#endif
#define ZAssert(condition, ...) do { if (!(condition)) { ALog(__VA_ARGS__); }} while(0)
#define ISRETINADISPLAY (([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) ? [[UIScreen mainScreen] scale] >1.0 : NO)
#define degreesToRadians(x) (M_PI * x / 180.0)
- IOSAnimation
- 查看二进制文件中的符号
- Android 签名整理
- collaborative filtering (CF):协同过滤
- realv210的编译脚本注释
- 一个简单的操作端口的驱动------完整过程
- IOSAnimation
- kernel panic
- 使用高速缓存
- c#和java的一些语法区别
- 普通用户通过udev漏洞提升到root权限
- CPUID详解[增加TLB与Cache]
- Android数据的四种存储方式SharedPreferences、SQLite、Content Provider和File (二) —— SQLite
- Rational TestManager下载破解
- Android UI开发第二十篇——仿launcher的左右滑动(用ViewPager实现欢迎引导页面)