Re: Learning the Interface Builder
Re: Learning the Interface Builder
- Subject: Re: Learning the Interface Builder
- From: James Merkel <email@hidden>
- Date: Sat, 05 Nov 2011 12:39:31 -0700
> On Nov 4, 2011, at 9:47 PM, Matt Neuburg wrote:
>
>> Just because we all lived for over a decade with the horror and tedium of manual memory management doesn't mean you have to.
>
> On Sat, 05 Nov 2011 16:14:51 +0000 James Zajkowski, wrote:
> I agree that ARC is awesome, but I believe that for right now, everyone needs to have a pretty familiar understanding of retain / release.
>
> It's like in grade school you learned long division, you learned how to plot a line using a y-intercept and solving for two points, and you learned how to approximate a square root. Do we do those things by hand often anymore? No. But you should know it to understand what's going on.
>
> --Jim
I tend to agree with Matt Neuburg on this. Probably the documentation for memory management with ARC should just mention that the retain, releases, and autoreleases are added by the compiler and leave it at that. By the way, I thought (probably naively) that with ARC, the retain, releases and autoreleases were added to the source code by the compiler. They are not. After conversion to ARC, there are no retain releases or autoreleases in the source code.
Also a nit -- in grade school, didn't we learn an algorithm for calculating a square root not an approximation to a square root ?
Jim Merkel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden