Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Create a simple example project without a formatter.

  • Loading branch information...
commit 14ad4945d8f38bf8217ece6e8b0faea1c55b2d12 1 parent 52e6734
Abizer Nasir authored
8 ADNOrdinalNumberFormatter.xcodeproj/project.pbxproj
View
@@ -26,7 +26,7 @@
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
- 8D1107320486CEB800E47090 /* ADNOrdinalNumberFormatter.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ADNOrdinalNumberFormatter.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8D1107320486CEB800E47090 /* Ordinals.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Ordinals.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -72,7 +72,7 @@
19C28FACFE9D520D11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
- 8D1107320486CEB800E47090 /* ADNOrdinalNumberFormatter.app */,
+ 8D1107320486CEB800E47090 /* Ordinals.app */,
);
name = Products;
sourceTree = "<group>";
@@ -142,7 +142,7 @@
name = ADNOrdinalNumberFormatter;
productInstallPath = "$(HOME)/Applications";
productName = ADNOrdinalNumberFormatter;
- productReference = 8D1107320486CEB800E47090 /* ADNOrdinalNumberFormatter.app */;
+ productReference = 8D1107320486CEB800E47090 /* Ordinals.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
@@ -226,7 +226,7 @@
GCC_PREFIX_HEADER = Prefix.pch;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(HOME)/Applications";
- PRODUCT_NAME = ADNOrdinalNumberFormatter;
+ PRODUCT_NAME = Ordinals;
};
name = Debug;
};
10 ApplicationDelegate.h
View
@@ -1,5 +1,5 @@
//
-// ADNOrdinalNumberFormatterAppDelegate.h
+// AppDelegate.h
// ADNOrdinalNumberFormatter
//
// Created by Abizer Nasir
@@ -8,9 +8,17 @@
#import <Cocoa/Cocoa.h>
@interface ApplicationDelegate : NSObject <NSApplicationDelegate> {
+ @private
NSWindow *window;
+ NSTextField *inputField;
+ NSInteger number;
+
+
+
}
@property (assign) IBOutlet NSWindow *window;
+@property (assign) IBOutlet NSTextField *inputField;
+@property (assign) NSInteger number;
@end
13 ApplicationDelegate.m
View
@@ -1,5 +1,5 @@
//
-// ADNOrdinalNumberFormatterAppDelegate.m
+// AppDelegate.m
// ADNOrdinalNumberFormatter
//
// Created by Abizer Nasir
@@ -10,9 +10,16 @@
@implementation ApplicationDelegate
@synthesize window;
+@synthesize inputField;
+@synthesize number;
-- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
- // Insert code here to initialize your application
+- (id)init {
+ if (!(self = [super init])) {
+ return nil; // Bail!
+ }
+ number = 50;
+
+ return self;
}
@end
1,624 English.lproj/MainMenu.xib
View
681 additions, 943 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.