Reputation: 24325
I dont have access to Xcode and want to make sure a project is using ARC. What file contains the setting that shows ARC is enabled?
There are quite a bit of lines that look like this in my AppDelegate.h
file.
@property (nonatomic, strong) Test * test;
Upvotes: 2
Views: 379
Reputation: 21137
Open the content of your .xcodeproj file: right mouse click -> show content (or something similar). Open project.pbxproj with TextEdit or any other text editor and search for
CLANG_ENABLE_OBJC_ARC = YES;
or
CLANG_ENABLE_OBJC_ARC = NO;
Upvotes: 1
Reputation: 45598
Search for the MyProject.xcodeproj/project.pbxproj
file, and open it with a text editor to see if it contains values for CLANG_ENABLE_OBJC_ARC
. If you see = YES
then ARC is enabled for one or more targets in the project.
Upvotes: 3