Easily Get Non-ARC Enabled Open Source Libraries Working In ARC Enabled Projects

4 views
Skip to first unread message

Azeem Shaikh

unread,
Jan 31, 2012, 2:36:54 AM1/31/12
to iPhone-BitCode
Hi All,

It is easy to compile libraries which do not implement ARC yet, (e.g.
SBJson) into your projects which implement 5.0 SDK.
Just change the compiler flags for the specific code files that you do
not want to enable ARC for to "-fno-obj-arc".

Also, it is a relatively painless process to convert your old code to
make it compatible with ARC using the 'Refactor' tool in XCode. Both
processes are explained in detail in the link mentioned below.

http://maniacdev.com/2012/01/easily-get-non-arc-enabled-open-source-libraries-working-in-arc-enabled-projects/


I hope you find this information useful.

Regards,
Azeem
Reply all
Reply to author
Forward
0 new messages