• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [YES] Is ARC any smarter than Xcode's 'Analyze'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Is ARC any smarter than Xcode's 'Analyze'? (From: Jerry Krinock <email@hidden>)
 >Re: Is ARC any smarter than Xcode's 'Analyze'? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Is ARC any smarter than Xcode's 'Analyze'?
  • Next by Date: Re: How to implement readonly property
  • Previous by thread: Re: Is ARC any smarter than Xcode's 'Analyze'?
  • Next by thread: Storyboard doesn't contain a view controller with identifier 'Foo'
  • Index(es):
    • Date
    • Thread