您的位置:首页 > 大数据 > 人工智能

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: