Re: [YES] Is ARC any smarter than Xcode's 'Analyze'?
Re: [YES] Is ARC any smarter than Xcode's 'Analyze'?
- Subject: Re: [YES] Is ARC any smarter than Xcode's 'Analyze'?
- From: Jerry Krinock <email@hidden>
- Date: Mon, 12 Nov 2012 11:15:47 -0800
Thanks for the replies; very informative.
I followed Jens advice, got lucky, and fixed the problem manually. It turned out to be an extraneous [self release] that should have been balanced by a [self retain] in another method. I can understand how static analysis wouldn't know what to make of that.
Although I'm impressed with everyone's praise of ARC, I'm still not sure I want to throw it at this big old project. This [self retain] and [self release], for example, were put in to handle a dicey edge case where the user might close a window while a background thread is still processing data, and there are a bunch of observers hanging around too.
I might do it later, and of course I'm 100% ARC on new projects.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden