Permalink
Browse files

added example no ARC class

  • Loading branch information...
1 parent 1255024 commit 62617ba44707d0352d2127f7ae0eec5cc4a91718 @jaminguy committed Oct 29, 2011
Showing with 54 additions and 4 deletions.
  1. +10 −4 NoArc.xcodeproj/project.pbxproj
  2. +7 −0 NoArc.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  3. +15 −0 NoArc/NoArc.h
  4. +22 −0 NoArc/NoArc.m
@@ -16,23 +16,26 @@
24CF7FA9145C525D003914FD /* MainStoryboard_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 24CF7FA7145C525D003914FD /* MainStoryboard_iPhone.storyboard */; };
24CF7FAC145C525D003914FD /* MainStoryboard_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 24CF7FAA145C525D003914FD /* MainStoryboard_iPad.storyboard */; };
24CF7FAF145C525D003914FD /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 24CF7FAE145C525D003914FD /* ViewController.m */; };
+ 24CF7FB7145C5276003914FD /* NoArc.m in Sources */ = {isa = PBXBuildFile; fileRef = 24CF7FB6145C5276003914FD /* NoArc.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
24CF7F91145C525D003914FD /* NoArc.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NoArc.app; sourceTree = BUILT_PRODUCTS_DIR; };
24CF7F95145C525D003914FD /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
24CF7F97145C525D003914FD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
24CF7F99145C525D003914FD /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- 24CF7F9D145C525D003914FD /* NoArc-Info.plist */ = {isa = PBXFileReference; path = "NoArc-Info.plist"; sourceTree = "<group>"; };
+ 24CF7F9D145C525D003914FD /* NoArc-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "NoArc-Info.plist"; sourceTree = "<group>"; };
24CF7F9F145C525D003914FD /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
24CF7FA1145C525D003914FD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
- 24CF7FA3145C525D003914FD /* NoArc-Prefix.pch */ = {isa = PBXFileReference; path = "NoArc-Prefix.pch"; sourceTree = "<group>"; };
- 24CF7FA4145C525D003914FD /* AppDelegate.h */ = {isa = PBXFileReference; path = AppDelegate.h; sourceTree = "<group>"; };
+ 24CF7FA3145C525D003914FD /* NoArc-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NoArc-Prefix.pch"; sourceTree = "<group>"; };
+ 24CF7FA4145C525D003914FD /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
24CF7FA5145C525D003914FD /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
24CF7FA8145C525D003914FD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard_iPhone.storyboard; sourceTree = "<group>"; };
24CF7FAB145C525D003914FD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard_iPad.storyboard; sourceTree = "<group>"; };
- 24CF7FAD145C525D003914FD /* ViewController.h */ = {isa = PBXFileReference; path = ViewController.h; sourceTree = "<group>"; };
+ 24CF7FAD145C525D003914FD /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
24CF7FAE145C525D003914FD /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
+ 24CF7FB5145C5276003914FD /* NoArc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NoArc.h; sourceTree = "<group>"; };
+ 24CF7FB6145C5276003914FD /* NoArc.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NoArc.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -85,6 +88,8 @@
24CF7FAA145C525D003914FD /* MainStoryboard_iPad.storyboard */,
24CF7FAD145C525D003914FD /* ViewController.h */,
24CF7FAE145C525D003914FD /* ViewController.m */,
+ 24CF7FB5145C5276003914FD /* NoArc.h */,
+ 24CF7FB6145C5276003914FD /* NoArc.m */,
24CF7F9C145C525D003914FD /* Supporting Files */,
);
path = NoArc;
@@ -168,6 +173,7 @@
24CF7FA2145C525D003914FD /* main.m in Sources */,
24CF7FA6145C525D003914FD /* AppDelegate.m in Sources */,
24CF7FAF145C525D003914FD /* ViewController.m in Sources */,
+ 24CF7FB7145C5276003914FD /* NoArc.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -0,0 +1,15 @@
+//
+// NoArc.h
+// NoArc
+//
+// Created by Jamin Guy on 10/29/11.
+// Copyright (c) 2011 Griffin Technology. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface NoArc : NSObject {
+ NSArray *someStuff;
+}
+
+@end
View
@@ -0,0 +1,22 @@
+//
+// NoArc.m
+// NoArc
+//
+// Created by Jamin Guy on 10/29/11.
+// Copyright (c) 2011 Griffin Technology. All rights reserved.
+//
+
+#import "NoArc.h"
+
+@implementation NoArc
+
+- (id)init {
+ self = [super init];
+ if(self) {
+ someStuff = [[NSArray array] retain];
+ }
+ return self;
+}
+
+
+@end

0 comments on commit 62617ba

Please sign in to comment.