ARC, worth it or not?

前端 未结 7 1536
没有蜡笔的小新
没有蜡笔的小新 2021-02-05 09:53

When I moved to Objective C (iOS) from C++ (and little Java) I had hard time understanding memory management in iOS. But now all this seems natural and I know retain, autoreleas

7条回答
  •  失恋的感觉
    2021-02-05 10:01

    Watch the WWDC video on ARC: https://developer.apple.com/videos/wwdc/2011/?id=323

    Apple's official stance in that video is that all apps that can use ARC should use ARC. The video goes into why, and is an excellent overview of the technology, so I'm not going to repeat it all here.

提交回复
热议问题