OC高效率52不要使用retainCount
2016-03-13 00:00
465 查看
#import "ViewController.h" @interface ViewController () @end @implementation ViewController /** * ARC已经废弃次方法 * 它所返回的保留计数只是某个给定时间点上的值 */ //-(NSUInteger)retainCount; - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } @end
相关文章推荐
- JetBrains WebStorm for Mac 10.0.4 破解版 – 下载地址及安装方法
- onSavaInstanceState的用法
- AI设计彭罗斯悖论三角教程
- 多线程 : 使用 wait 和 notify 实现进程间同步通信
- C++ 自定义namespace的使用技巧 http://jingyan.baidu.com/article/b7001fe19399fa0e7282ddb3.html
- 【leetcode】Array——Contains Duplicate(217)
- urlretrieve() 函数http://www.nowamagic.net/academy/detail/1302861
- AI感官模拟
- bzoj 3540: [Usaco2014 Open]Fair Photography
- adb failed to start daemon 彻底解决
- Aizu 0525 Osenbei【枚举+dfs】
- 人工智能——电脑模拟人类学习
- Codeforces 29C Mail Stamps 【离散化 + DFS】
- RAID基础知识
- 在浏览器中输入www.baidu.com后执行的全部过程
- AIO
- 人工智能 第一次作业 13计本班 刘晨 130702010029
- aiomysql inserting operation failed !
- RAID的使用详解
- RAID 的常用模式 及mdadm 命令的应用