• 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: In Praise of ARC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In Praise of ARC


  • Subject: Re: In Praise of ARC
  • From: Jeff Kelley <email@hidden>
  • Date: Sun, 06 Nov 2011 23:18:43 -0500

One other thing to add to the ARC love: I have not had a single crash report from any ARC-enabled release in the App Store.

Jeff Kelley


On Sat, Nov 5, 2011 at 5:39 PM, Philip McIntosh <email@hidden> wrote:
I am impressed with the implementation of Automatic Reference Counting (ARC) in iOS 5 and the conversion tool built into XCode 4.2. I have an app that generated a small leak each time I ran a "cycle" of the app. This was no doubt caused by a design flaw since no matter how much I attended to my retain/release cycles I could not get rid of one left over NSDecimalNumber at the end of each operation.

I took the plunge and refactored the project to use ARC in XCode. There were some very scary moments that generated many red warning flags, but I just kept doing it, and after I did it 4 times all the problems cleared themselves. That was a scary thing to do though.

I just checked the app with instruments, and sure enough, the memory leaks are gone.

Nice job Apple.
 _______________________________________________
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

References: 
 >In Praise of ARC (From: Philip McIntosh <email@hidden>)

  • Prev by Date: CPlusTest deprecation
  • Next by Date: [JOB] Android Developer, New York City
  • Previous by thread: In Praise of ARC
  • Next by thread: How to create a non-test target
  • Index(es):
    • Date
    • Thread