TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Understanding Automatic Reference Counting in Objective-C

25 点作者 rohshall超过 12 年前

4 条评论

gdubs超过 12 年前
There's a good conversation here about dealing with objects inside structs, which is discouraged in ARC: <a href="http://www.cocoabuilder.com/archive/cocoa/310392-struct-and-unsafe-unretained.html" rel="nofollow">http://www.cocoabuilder.com/archive/cocoa/310392-struct-and-...</a>
评论 #5064524 未加载
bennyg超过 12 年前
I was hesitant to try ARC at first - all of the tutorials I saw started with storyboards, which was terrible nonsense, and I wrongly equated that to ARC. I still think about where my pointers are, I'm just writing less code now and I love it. ARC's very, very nice.
评论 #5065123 未加载
phatbyte超过 12 年前
Understanding memory management, and how things work "backstage" is always good but implementing it it's boring and very error-prone. Let's just use ARC, it's ready and it works amazingly well.
rizwan超过 12 年前
The page states that ARC is not yet ready, but keep in mind this article was written in Sept 2011.<p>I think ARC is definitely ready nowadays, given the number of libraries and projects using it.