nesium / cocoa-amf

Objective-C implementation of the Flash Remoting format (AMF0/AMF3) for servers and clients.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARC Version of Library

rcfrias opened this issue · comments

I had a hard time trying to figure out how to make this library work with the new MemoryManagement in iOS, since none of the used "autorelease", "release", etc... is supported anymore. It looks like the whole app has to be without auto reference counting in order to work at all.

Would be nice to have the updated version. Im an Objective-C noob, so I would rather dont do this myself :)
Thanks for the help!

I imagine you can go into your Target -> Build Phases -> Compile Sources and add this compiler flag to all the cocoa amy sources: -fno-objc-arc

This is what i had to do with the AddThis library which is also non-ARC. I haven't tried it yet though. I am going to go through an remove all the memory management and see how that works. I heard that there was a memory leak somewhere anyway so that might be a good idea.