Using ARC and -fno-objc-arc flags is the best way?

I am new to iOS dev scene, and I decided to create my first iPhone app using the latest version of iOS. It supports ARC, and for beginners, and not to deal with persistence, release, auto-advertising, and similar issues, it is mostly appreciated. Then I import some third-party classes to add functionality to my application that are not compatible with ARC.

So, for these files, I use the -fno-objc-arc compiler flag, my questions are, is it ok to do this? Does this affect the overall performance of the application? I could go and try to rewrite the code to support ARC, is it worth the worry?

Thanks in advance for your feedback.

+4
source share
1 answer

This is an acceptable way. I have included the excellent Nimbus for iOS in my application and that all I had to do to disable ARC for Nimbus. Just do it and don’t worry.

+3
source

Source: https://habr.com/ru/post/1394166/


All Articles