- 博客(3)
- 资源 (2)
- 收藏
- 关注
转载 __attribute__的妙用整理
1、如果想限制方法里必须调用用父类方法 __attribute__((objc_requires_super));NS_REQUIRES_SUPER2、如果想不可继承:__attribute__((objc_subclassing_restricted))@interface Eunuch : NSObject@end@interface Child
2017-05-18 16:15:28 375
转载 64-bit Tips
终究还是来了。Apple下发了支持64位的最后通牒:As we announced in October, beginning February 1, 2015 new iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK. Beginning June
2017-05-17 21:54:36 304
原创 Cocoapods的使用
1、查看ruby版本ruby -v2、如果需要更新,用rvm进行ruby更新#列出已知版本,会有提示ruby list known #安装更新,例如 1.x.x版本ruby inistall 1.x.x 3、更新gemgem update --system4、安装cocoapodssudo gem inistall cocoapodspod setup下面就是日常pod使用了5、cd 项
2017-05-10 15:17:15 400
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人