I create a project with ARC support using the Xcode project wizard. Compared with a program without ARC support, I did not notice any differences. Is there any hint that can tel
If you just want to know one time if your project has ARC, I suggest using jpalten's answer. If you want your code to only build with ARC on, I suggest qegal's.
However, if you want to know where in Xcode the setting lives:
OBJC_ARC
.This will leave a single line showing in Build Settings, either Objective-C Automatic Reference Counting or CLANG_ENABLE_OBJC_ARC (depending on whether you're showing setting descriptions or names). If it's set to YES, you have ARC on.
This is your target's pick of whether ARC is used. Note that each file can be compiled with a different setting. This is not what you asked, but since we already have three answers I thought I'd head off a possible fourth. :)
To see which files override the ARC setting:
Here, you can see the compiler flags for each file. Files with that set whether or not to use ARC will include either -fno-objc-arc or -fobjc-arc, for specifying MRR or ARC respectively.