how to add ARC in between of project

前端 未结 6 1152
走了就别回头了
走了就别回头了 2021-01-07 09:58

I am creating iPhone app and in between I need to use SDWebImage. For this I need to use ARC.

Any idea how to add ARC in between in project?

Note:

6条回答
  •  余生分开走
    2021-01-07 10:15

    If you are using xcode 4.6 then Select your target Target->Build Settingsand find Apple LLVM compiler 4.2 see in this section if Objective-c Automatic Reference Counting is set to YES, if not then just set it to YES. For older version of XCode you could change for Apple LLVM compiler 3.0

提交回复
热议问题