objc-zen-book-cn icon indicating copy to clipboard operation
objc-zen-book-cn copied to clipboard

ObjC Zen Book 中文翻译

Results 3 objc-zen-book-cn issues
Sort by recently updated
recently updated
newest added

“你在第一次访问的时候改变了初始化的消耗,产生了副作用,这会让优化性能变得困难(以及测试)” 请问这句话怎么理解?

你好,原文在讲__weak和__strong关键字的时候举了官方文档的一个例子 ```Objective-C MyViewController *myController = [[MyViewController alloc] init...]; // ... MyViewController * __weak weakMyController = myController; myController.completionHandler = ^(NSInteger result) { MyViewController *strongMyController = weakMyController; if (strongMyController) { // ......

嘿!为中文版设计一个封面吧