Automatic Reference Counting

3 views
Skip to first unread message

Will Jessop

unread,
Sep 2, 2012, 7:44:24 AM9/2/12
to nsmanc...@googlegroups.com
I've been reading
http://longweekendmobile.com/2011/09/07/objc-automatic-reference-counting-in-xcode-explained/

It seems that ARC is useful. I converted some of my code to use it, it
was cleaner without the release statements. What are people's opinions
of it? Is it the way forward and we should be using it where we can?
Or are people sticking with more manual memory management?

Will.

Rob Hayward

unread,
Sep 2, 2012, 8:07:55 AM9/2/12
to nsmanc...@googlegroups.com
I'm embracing, lucky enough to have not been on any legacy code/projects so all my new solutions have been using ARC, the last 9 months or so have been glorious with it.
> --
> You received this message because you are subscribed to the Google Groups "NSManchester - Cocoa Developers Meetup" group.
> To post to this group, send email to nsmanc...@googlegroups.com.
> To unsubscribe from this group, send email to nsmanchester...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nsmanchester?hl=en.
>

Tim Duckett

unread,
Sep 2, 2012, 8:42:31 AM9/2/12
to nsmanc...@googlegroups.com
I'm using it for all my new projects. Memory management (almost) becomes one less thing to worry about.

From the point of view of someone who started off in a non-ARC world, not having to worry too much about memory management is a Positive Thing. I do wonder if it could make life slightly harder if all you ever known is ARC, though - it would be tempting to ignore reference counting as "something I no longer need to be bothered about", only to get bitten by it in those situations where it is still your problem to deal with.

tl;dr takeaway is that I'm glad it's here, but I'm also sort of glad that it wasn't when I was first starting out with iOS.

Martin Linklater

unread,
Sep 2, 2012, 9:51:24 AM9/2/12
to nsmanc...@googlegroups.com
ARC is the future as far as Apple are concerned, so you may as well get used to it 8). I've been using it since it was available and had no problems at all.



On 2 Sep 2012, at 12:44, Will Jessop <wi...@willj.net> wrote:

Reply all
Reply to author
Forward
0 new messages