Automatic Reference Counting
Closed this issue · 3 comments
I have 22 errors and it looks like they are all due to ARC being on. Is there a way to change all of the "return [[[RXMLElement alloc] initFromXMLData:data] autorelease];" like returns to arc friendly returns?
There won't be explicit ARC support for RaptureXML until ARC becomes the standard. I'm not high on maintaining a branch for that sort of thing. You should set -fno-objc-arc on the appropriate files in your project. Hopefully in a year I'll be converting all my libraries to ARC permanently. :-)
John Blanco | Mobile Apps Developer
Rapture In Venice
ph: 720.939.7433
im: ZaBlanc/AIM, ZaBlanc@gmail.com/GTalk
On Nov 29, 2011, at 8:41 AM, mfor wrote:
I have 22 errors and it looks like they are all due to ARC being on. Is there a way to change all of the "return [[[RXMLElement alloc] initFromXMLData:data] autorelease];" like returns to arc friendly returns?
Reply to this email directly or view it on GitHub:
#5
I'm have just started learning all this and I'm on my first project, how do I set -fno-objc-arc on a file?
The Apple ARC doc describes it here: http://developer.apple.com/library/ios/#releasenotes/ObjectiveC/RN-TransitioningToARC/_index.html#//apple_ref/doc/uid/TP40011226-CH1-SW4
I use it for my libraries while I keep my app code ARC. Some libraries have an ARC branch, but I find that's more handy for projects not seeing lots of changes anymore. My libraries are pretty active, and that would slow me down.
John Blanco | Mobile Apps Developer
Rapture In Venice
ph: 720.939.7433
im: ZaBlanc/AIM, ZaBlanc@gmail.com/GTalk
On Nov 29, 2011, at 8:53 AM, mfor wrote:
I'm have just started learning all this and I'm on my first project, how do I set -fno-objc-arc on a file?
Reply to this email directly or view it on GitHub:
#5 (comment)