Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prefixed application delegate and main window controller.

  • Loading branch information...
commit 475c02954881a4073b5448f1b27032a9bd2a4ee1 1 parent 568d5d6
@tomaz authored
Showing with 114 additions and 96 deletions.
  1. +4 −4 ...Cocoa Application/Core Data Application with Unit Testing/Controller/{AppDelegate.h → GBAppDelegate.h}
  2. +8 −8 ...ication/Controller/AppDelegate.m → Core Data Application with Unit Testing/Controller/GBAppDelegate.m}
  3. +2 −2 ...Core Data Application with Unit Testing/Controller/{MainWindowController.h → GBMainWindowController.h}
  4. +3 −3 .../MainWindowController.m → Core Data Application with Unit Testing/Controller/GBMainWindowController.m}
  5. +7 −12 ...ect Templates/Application/Cocoa Application/Core Data Application with Unit Testing/Controller/MainMenu.xib
  6. +21 −7 ...t Templates/Application/Cocoa Application/Core Data Application with Unit Testing/Controller/MainWindow.xib
  7. +12 −12 ...ation/Cocoa Application/Core Data Application with Unit Testing/___PROJECTNAME___.xcodeproj/project.pbxproj
  8. +4 −4 ...lates/Application/Cocoa Application/Core Data Application/Controller/{AppDelegate.h → GBAppDelegate.h}
  9. +8 −8 ...ication with Unit Testing/Controller/AppDelegate.m → Core Data Application/Controller/GBAppDelegate.m}
  10. +2 −2 ...Cocoa Application/Core Data Application/Controller/{MainWindowController.h → GBMainWindowController.h}
  11. +3 −3 ...Testing/Controller/MainWindowController.m → Core Data Application/Controller/GBMainWindowController.m}
  12. +7 −12 Project Templates/Application/Cocoa Application/Core Data Application/Controller/MainMenu.xib
  13. +21 −7 Project Templates/Application/Cocoa Application/Core Data Application/Controller/MainWindow.xib
  14. +12 −12 ...t Templates/Application/Cocoa Application/Core Data Application/___PROJECTNAME___.xcodeproj/project.pbxproj
View
8 ...cation with Unit Testing/Controller/AppDelegate.h → ...tion with Unit Testing/Controller/GBAppDelegate.h
@@ -1,5 +1,5 @@
//
-// AppDelegate.h
+// GBAppDelegate.h
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
@@ -8,7 +8,7 @@
#import <Cocoa/Cocoa.h>
-@class MainWindowController;
+@class GBMainWindowController;
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
@@ -17,9 +17,9 @@
Application delegate is the principal class where the application comes to live and
the one that binds together the whole user interface with the underlying model.
*/
-@interface AppDelegate : NSObject
+@interface GBAppDelegate : NSObject
{
- MainWindowController* mainWindowController;
+ GBMainWindowController* mainWindowController;
}
///---------------------------------------------------------------------------------------
View
16 ...on/Core Data Application/Controller/AppDelegate.m → ...tion with Unit Testing/Controller/GBAppDelegate.m
@@ -1,5 +1,5 @@
//
-// AppDelegate.m
+// GBAppDelegate.m
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
@@ -8,19 +8,19 @@
#import "GBDatabaseProvider.h"
#import "GBModelController.h"
-#import "MainWindowController.h"
-#import "AppDelegate.h"
+#import "GBMainWindowController.h"
+#import "GBAppDelegate.h"
-@interface AppDelegate ()
+@interface GBAppDelegate ()
- (void) terminateWithAlertMessage:(NSString*)message info:(NSString*)info;
-@property (readonly) MainWindowController* mainWindowController;
+@property (readonly) GBMainWindowController* mainWindowController;
@end
#pragma mark -
-@implementation AppDelegate
+@implementation GBAppDelegate
#pragma mark Initialization & disposal
@@ -77,11 +77,11 @@ - (BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication*)sender
#pragma mark User interface handling
-- (MainWindowController*) mainWindowController
+- (GBMainWindowController*) mainWindowController
{
if (mainWindowController) return mainWindowController;
logInfo(@"Initializing main window controller...");
- mainWindowController = [[MainWindowController alloc] init];
+ mainWindowController = [[GBMainWindowController alloc] init];
return mainWindowController;
}
View
4 ...th Unit Testing/Controller/MainWindowController.h → ... Unit Testing/Controller/GBMainWindowController.h
@@ -1,5 +1,5 @@
//
-// MainWindowController.h
+// GBMainWindowController.h
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
@@ -15,7 +15,7 @@
This is where the application's main window is driven from. It acts as the root for view
hieararchy of the main window.
*/
-@interface MainWindowController : GBWindowController
+@interface GBMainWindowController : GBWindowController
{
}
View
6 ...ata Application/Controller/MainWindowController.m → ... Unit Testing/Controller/GBMainWindowController.m
@@ -1,14 +1,14 @@
//
-// MainWindowController.m
+// GBMainWindowController.m
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright (C) ___YEAR___, ___ORGANIZATIONNAME___. All rights reserved.
//
-#import "MainWindowController.h"
+#import "GBMainWindowController.h"
-@implementation MainWindowController
+@implementation GBMainWindowController
#pragma mark Initialization & disposal
View
19 ... Templates/Application/Cocoa Application/Core Data Application with Unit Testing/Controller/MainMenu.xib
@@ -1122,7 +1122,7 @@
<string key="NSName">_NSMainMenu</string>
</object>
<object class="NSCustomObject" id="612578685">
- <string key="NSClassName">AppDelegate</string>
+ <string key="NSClassName">GBAppDelegate</string>
</object>
<object class="NSCustomObject" id="39582327">
<string key="NSClassName">NSFontManager</string>
@@ -2967,7 +2967,7 @@
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">AppDelegate</string>
+ <string key="className">GBAppDelegate</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<string key="NS.key.0">saveAction:</string>
@@ -2975,26 +2975,21 @@
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Controller/AppDelegate.h</string>
+ <string key="minorKey">Controller/GBAppDelegate.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
- <string key="className">AppDelegate</string>
- <string key="superclassName">NSObject</string>
- <object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">window</string>
- <string key="NS.object.0">NSWindow</string>
- </object>
+ <string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Common/NSObject+GBObject.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Common/NSObject+GBObject.h</string>
+ <string key="minorKey">Common/ThirdParty/DDFoundation/NSObject+DDExtensions.h</string>
</object>
</object>
</object>
View
28 ...emplates/Application/Cocoa Application/Core Data Application with Unit Testing/Controller/MainWindow.xib
@@ -30,7 +30,7 @@
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSCustomObject" id="1001">
- <string key="NSClassName">MainWindowController</string>
+ <string key="NSClassName">GBMainWindowController</string>
</object>
<object class="NSCustomObject" id="1003">
<string key="NSClassName">FirstResponder</string>
@@ -165,19 +165,33 @@
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">MainWindowController</string>
- <string key="superclassName">WindowControllerBase</string>
+ <string key="className">GBMainWindowController</string>
+ <string key="superclassName">GBWindowController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Controller/MainWindowController.h</string>
+ <string key="minorKey">Controller/GBMainWindowController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
- <string key="className">WindowControllerBase</string>
+ <string key="className">GBWindowController</string>
<string key="superclassName">XSWindowController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Controller/WindowControllerBase.h</string>
+ <string key="minorKey">Controller/GBWindowController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Common/NSObject+GBObject.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Common/ThirdParty/DDFoundation/NSObject+DDExtensions.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
@@ -576,7 +590,7 @@
<integer value="3000" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <nil key="IBDocument.LastKnownRelativeProjectPath"/>
+ <string key="IBDocument.LastKnownRelativeProjectPath">../___PROJECTNAME___.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
</data>
</archive>
View
24 ...on/Cocoa Application/Core Data Application with Unit Testing/___PROJECTNAME___.xcodeproj/project.pbxproj
@@ -7,11 +7,11 @@
objects = {
/* Begin PBXBuildFile section */
- 73062D861173BA98000AB6D1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062D851173BA98000AB6D1 /* AppDelegate.m */; };
+ 73062D861173BA98000AB6D1 /* GBAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062D851173BA98000AB6D1 /* GBAppDelegate.m */; };
73062DB51173BB3C000AB6D1 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 73062DB41173BB3C000AB6D1 /* MainMenu.xib */; };
73062DE51173BCC3000AB6D1 /* GBDatabaseProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062DE21173BCC3000AB6D1 /* GBDatabaseProvider.m */; };
73062DE61173BCC3000AB6D1 /* GBServiceProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062DE41173BCC3000AB6D1 /* GBServiceProvider.m */; };
- 73062E621173BFBD000AB6D1 /* MainWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E611173BFBD000AB6D1 /* MainWindowController.m */; };
+ 73062E621173BFBD000AB6D1 /* GBMainWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E611173BFBD000AB6D1 /* GBMainWindowController.m */; };
73062E6E1173C014000AB6D1 /* XSViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E6B1173C014000AB6D1 /* XSViewController.m */; };
73062E6F1173C014000AB6D1 /* XSWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E6D1173C014000AB6D1 /* XSWindowController.m */; };
73062E781173C0CA000AB6D1 /* GBViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E751173C0CA000AB6D1 /* GBViewController.m */; };
@@ -146,8 +146,8 @@
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>"; };
32CA4F630368D1EE00C91783 /* ___PROJECTNAMEASIDENTIFIER____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; sourceTree = "<group>"; };
- 73062D841173BA98000AB6D1 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
- 73062D851173BA98000AB6D1 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ 73062D841173BA98000AB6D1 /* GBAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GBAppDelegate.h; sourceTree = "<group>"; };
+ 73062D851173BA98000AB6D1 /* GBAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBAppDelegate.m; sourceTree = "<group>"; };
73062DB41173BB3C000AB6D1 /* MainMenu.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainMenu.xib; sourceTree = "<group>"; };
73062DE11173BCC3000AB6D1 /* GBDatabaseProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GBDatabaseProvider.h; sourceTree = "<group>"; };
73062DE21173BCC3000AB6D1 /* GBDatabaseProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBDatabaseProvider.m; sourceTree = "<group>"; };
@@ -155,8 +155,8 @@
73062DE41173BCC3000AB6D1 /* GBServiceProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBServiceProvider.m; sourceTree = "<group>"; };
73062E531173BE3A000AB6D1 /* DBObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBObjects.h; sourceTree = "<group>"; };
73062E5F1173BF15000AB6D1 /* SynthesizeSingleton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SynthesizeSingleton.h; sourceTree = "<group>"; };
- 73062E601173BFBD000AB6D1 /* MainWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainWindowController.h; sourceTree = "<group>"; };
- 73062E611173BFBD000AB6D1 /* MainWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainWindowController.m; sourceTree = "<group>"; };
+ 73062E601173BFBD000AB6D1 /* GBMainWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GBMainWindowController.h; sourceTree = "<group>"; };
+ 73062E611173BFBD000AB6D1 /* GBMainWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBMainWindowController.m; sourceTree = "<group>"; };
73062E6A1173C014000AB6D1 /* XSViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XSViewController.h; sourceTree = "<group>"; };
73062E6B1173C014000AB6D1 /* XSViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XSViewController.m; sourceTree = "<group>"; };
73062E6C1173C014000AB6D1 /* XSWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XSWindowController.h; sourceTree = "<group>"; };
@@ -303,8 +303,8 @@
isa = PBXGroup;
children = (
73062DB41173BB3C000AB6D1 /* MainMenu.xib */,
- 73062D841173BA98000AB6D1 /* AppDelegate.h */,
- 73062D851173BA98000AB6D1 /* AppDelegate.m */,
+ 73062D841173BA98000AB6D1 /* GBAppDelegate.h */,
+ 73062D851173BA98000AB6D1 /* GBAppDelegate.m */,
73062DB61173BB4B000AB6D1 /* MainWindow */,
73062E701173C026000AB6D1 /* Controllers Base */,
);
@@ -331,8 +331,8 @@
isa = PBXGroup;
children = (
73062E7A1173C203000AB6D1 /* MainWindow.xib */,
- 73062E601173BFBD000AB6D1 /* MainWindowController.h */,
- 73062E611173BFBD000AB6D1 /* MainWindowController.m */,
+ 73062E601173BFBD000AB6D1 /* GBMainWindowController.h */,
+ 73062E611173BFBD000AB6D1 /* GBMainWindowController.m */,
);
name = MainWindow;
sourceTree = "<group>";
@@ -693,10 +693,10 @@
files = (
8D11072D0486CEB800E47090 /* main.m in Sources */,
770B37ED0679A11B001EADE2 /* DataModel.xcdatamodel in Sources */,
- 73062D861173BA98000AB6D1 /* AppDelegate.m in Sources */,
+ 73062D861173BA98000AB6D1 /* GBAppDelegate.m in Sources */,
73062DE51173BCC3000AB6D1 /* GBDatabaseProvider.m in Sources */,
73062DE61173BCC3000AB6D1 /* GBServiceProvider.m in Sources */,
- 73062E621173BFBD000AB6D1 /* MainWindowController.m in Sources */,
+ 73062E621173BFBD000AB6D1 /* GBMainWindowController.m in Sources */,
73062E6E1173C014000AB6D1 /* XSViewController.m in Sources */,
73062E6F1173C014000AB6D1 /* XSWindowController.m in Sources */,
73062E781173C0CA000AB6D1 /* GBViewController.m in Sources */,
View
8 ...on/Core Data Application/Controller/AppDelegate.h → .../Core Data Application/Controller/GBAppDelegate.h
@@ -1,5 +1,5 @@
//
-// AppDelegate.h
+// GBAppDelegate.h
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
@@ -8,7 +8,7 @@
#import <Cocoa/Cocoa.h>
-@class MainWindowController;
+@class GBMainWindowController;
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
@@ -17,9 +17,9 @@
Application delegate is the principal class where the application comes to live and
the one that binds together the whole user interface with the underlying model.
*/
-@interface AppDelegate : NSObject
+@interface GBAppDelegate : NSObject
{
- MainWindowController* mainWindowController;
+ GBMainWindowController* mainWindowController;
}
///---------------------------------------------------------------------------------------
View
16 ...cation with Unit Testing/Controller/AppDelegate.m → .../Core Data Application/Controller/GBAppDelegate.m
@@ -1,5 +1,5 @@
//
-// AppDelegate.m
+// GBAppDelegate.m
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
@@ -8,19 +8,19 @@
#import "GBDatabaseProvider.h"
#import "GBModelController.h"
-#import "MainWindowController.h"
-#import "AppDelegate.h"
+#import "GBMainWindowController.h"
+#import "GBAppDelegate.h"
-@interface AppDelegate ()
+@interface GBAppDelegate ()
- (void) terminateWithAlertMessage:(NSString*)message info:(NSString*)info;
-@property (readonly) MainWindowController* mainWindowController;
+@property (readonly) GBMainWindowController* mainWindowController;
@end
#pragma mark -
-@implementation AppDelegate
+@implementation GBAppDelegate
#pragma mark Initialization & disposal
@@ -77,11 +77,11 @@ - (BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication*)sender
#pragma mark User interface handling
-- (MainWindowController*) mainWindowController
+- (GBMainWindowController*) mainWindowController
{
if (mainWindowController) return mainWindowController;
logInfo(@"Initializing main window controller...");
- mainWindowController = [[MainWindowController alloc] init];
+ mainWindowController = [[GBMainWindowController alloc] init];
return mainWindowController;
}
View
4 ...ata Application/Controller/MainWindowController.h → ...a Application/Controller/GBMainWindowController.h
@@ -1,5 +1,5 @@
//
-// MainWindowController.h
+// GBMainWindowController.h
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
@@ -15,7 +15,7 @@
This is where the application's main window is driven from. It acts as the root for view
hieararchy of the main window.
*/
-@interface MainWindowController : GBWindowController
+@interface GBMainWindowController : GBWindowController
{
}
View
6 ...th Unit Testing/Controller/MainWindowController.m → ...a Application/Controller/GBMainWindowController.m
@@ -1,14 +1,14 @@
//
-// MainWindowController.m
+// GBMainWindowController.m
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright (C) ___YEAR___, ___ORGANIZATIONNAME___. All rights reserved.
//
-#import "MainWindowController.h"
+#import "GBMainWindowController.h"
-@implementation MainWindowController
+@implementation GBMainWindowController
#pragma mark Initialization & disposal
View
19 Project Templates/Application/Cocoa Application/Core Data Application/Controller/MainMenu.xib
@@ -1122,7 +1122,7 @@
<string key="NSName">_NSMainMenu</string>
</object>
<object class="NSCustomObject" id="612578685">
- <string key="NSClassName">AppDelegate</string>
+ <string key="NSClassName">GBAppDelegate</string>
</object>
<object class="NSCustomObject" id="39582327">
<string key="NSClassName">NSFontManager</string>
@@ -2967,7 +2967,7 @@
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">AppDelegate</string>
+ <string key="className">GBAppDelegate</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<string key="NS.key.0">saveAction:</string>
@@ -2975,26 +2975,21 @@
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Controller/AppDelegate.h</string>
+ <string key="minorKey">Controller/GBAppDelegate.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
- <string key="className">AppDelegate</string>
- <string key="superclassName">NSObject</string>
- <object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">window</string>
- <string key="NS.object.0">NSWindow</string>
- </object>
+ <string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Common/NSObject+GBObject.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Common/NSObject+GBObject.h</string>
+ <string key="minorKey">Common/ThirdParty/DDFoundation/NSObject+DDExtensions.h</string>
</object>
</object>
</object>
View
28 Project Templates/Application/Cocoa Application/Core Data Application/Controller/MainWindow.xib
@@ -30,7 +30,7 @@
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSCustomObject" id="1001">
- <string key="NSClassName">MainWindowController</string>
+ <string key="NSClassName">GBMainWindowController</string>
</object>
<object class="NSCustomObject" id="1003">
<string key="NSClassName">FirstResponder</string>
@@ -165,19 +165,33 @@
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">MainWindowController</string>
- <string key="superclassName">WindowControllerBase</string>
+ <string key="className">GBMainWindowController</string>
+ <string key="superclassName">GBWindowController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Controller/MainWindowController.h</string>
+ <string key="minorKey">Controller/GBMainWindowController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
- <string key="className">WindowControllerBase</string>
+ <string key="className">GBWindowController</string>
<string key="superclassName">XSWindowController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Controller/WindowControllerBase.h</string>
+ <string key="minorKey">Controller/GBWindowController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Common/NSObject+GBObject.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Common/ThirdParty/DDFoundation/NSObject+DDExtensions.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
@@ -576,7 +590,7 @@
<integer value="3000" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <nil key="IBDocument.LastKnownRelativeProjectPath"/>
+ <string key="IBDocument.LastKnownRelativeProjectPath">../___PROJECTNAME___.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
</data>
</archive>
View
24 ...emplates/Application/Cocoa Application/Core Data Application/___PROJECTNAME___.xcodeproj/project.pbxproj
@@ -7,11 +7,11 @@
objects = {
/* Begin PBXBuildFile section */
- 73062D861173BA98000AB6D1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062D851173BA98000AB6D1 /* AppDelegate.m */; };
+ 73062D861173BA98000AB6D1 /* GBAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062D851173BA98000AB6D1 /* GBAppDelegate.m */; };
73062DB51173BB3C000AB6D1 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 73062DB41173BB3C000AB6D1 /* MainMenu.xib */; };
73062DE51173BCC3000AB6D1 /* GBDatabaseProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062DE21173BCC3000AB6D1 /* GBDatabaseProvider.m */; };
73062DE61173BCC3000AB6D1 /* GBServiceProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062DE41173BCC3000AB6D1 /* GBServiceProvider.m */; };
- 73062E621173BFBD000AB6D1 /* MainWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E611173BFBD000AB6D1 /* MainWindowController.m */; };
+ 73062E621173BFBD000AB6D1 /* GBMainWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E611173BFBD000AB6D1 /* GBMainWindowController.m */; };
73062E6E1173C014000AB6D1 /* XSViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E6B1173C014000AB6D1 /* XSViewController.m */; };
73062E6F1173C014000AB6D1 /* XSWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E6D1173C014000AB6D1 /* XSWindowController.m */; };
73062E781173C0CA000AB6D1 /* GBViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 73062E751173C0CA000AB6D1 /* GBViewController.m */; };
@@ -70,8 +70,8 @@
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>"; };
32CA4F630368D1EE00C91783 /* ___PROJECTNAMEASIDENTIFIER____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAMEASIDENTIFIER____Prefix.pch"; sourceTree = "<group>"; };
- 73062D841173BA98000AB6D1 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
- 73062D851173BA98000AB6D1 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ 73062D841173BA98000AB6D1 /* GBAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GBAppDelegate.h; sourceTree = "<group>"; };
+ 73062D851173BA98000AB6D1 /* GBAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBAppDelegate.m; sourceTree = "<group>"; };
73062DB41173BB3C000AB6D1 /* MainMenu.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainMenu.xib; sourceTree = "<group>"; };
73062DE11173BCC3000AB6D1 /* GBDatabaseProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GBDatabaseProvider.h; sourceTree = "<group>"; };
73062DE21173BCC3000AB6D1 /* GBDatabaseProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBDatabaseProvider.m; sourceTree = "<group>"; };
@@ -79,8 +79,8 @@
73062DE41173BCC3000AB6D1 /* GBServiceProvider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBServiceProvider.m; sourceTree = "<group>"; };
73062E531173BE3A000AB6D1 /* DBObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBObjects.h; sourceTree = "<group>"; };
73062E5F1173BF15000AB6D1 /* SynthesizeSingleton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SynthesizeSingleton.h; sourceTree = "<group>"; };
- 73062E601173BFBD000AB6D1 /* MainWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainWindowController.h; sourceTree = "<group>"; };
- 73062E611173BFBD000AB6D1 /* MainWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainWindowController.m; sourceTree = "<group>"; };
+ 73062E601173BFBD000AB6D1 /* GBMainWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GBMainWindowController.h; sourceTree = "<group>"; };
+ 73062E611173BFBD000AB6D1 /* GBMainWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBMainWindowController.m; sourceTree = "<group>"; };
73062E6A1173C014000AB6D1 /* XSViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XSViewController.h; sourceTree = "<group>"; };
73062E6B1173C014000AB6D1 /* XSViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XSViewController.m; sourceTree = "<group>"; };
73062E6C1173C014000AB6D1 /* XSWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XSWindowController.h; sourceTree = "<group>"; };
@@ -199,8 +199,8 @@
isa = PBXGroup;
children = (
73062DB41173BB3C000AB6D1 /* MainMenu.xib */,
- 73062D841173BA98000AB6D1 /* AppDelegate.h */,
- 73062D851173BA98000AB6D1 /* AppDelegate.m */,
+ 73062D841173BA98000AB6D1 /* GBAppDelegate.h */,
+ 73062D851173BA98000AB6D1 /* GBAppDelegate.m */,
73062DB61173BB4B000AB6D1 /* MainWindow */,
73062E701173C026000AB6D1 /* Controllers Base */,
);
@@ -227,8 +227,8 @@
isa = PBXGroup;
children = (
73062E7A1173C203000AB6D1 /* MainWindow.xib */,
- 73062E601173BFBD000AB6D1 /* MainWindowController.h */,
- 73062E611173BFBD000AB6D1 /* MainWindowController.m */,
+ 73062E601173BFBD000AB6D1 /* GBMainWindowController.h */,
+ 73062E611173BFBD000AB6D1 /* GBMainWindowController.m */,
);
name = MainWindow;
sourceTree = "<group>";
@@ -428,10 +428,10 @@
files = (
8D11072D0486CEB800E47090 /* main.m in Sources */,
770B37ED0679A11B001EADE2 /* DataModel.xcdatamodel in Sources */,
- 73062D861173BA98000AB6D1 /* AppDelegate.m in Sources */,
+ 73062D861173BA98000AB6D1 /* GBAppDelegate.m in Sources */,
73062DE51173BCC3000AB6D1 /* GBDatabaseProvider.m in Sources */,
73062DE61173BCC3000AB6D1 /* GBServiceProvider.m in Sources */,
- 73062E621173BFBD000AB6D1 /* MainWindowController.m in Sources */,
+ 73062E621173BFBD000AB6D1 /* GBMainWindowController.m in Sources */,
73062E6E1173C014000AB6D1 /* XSViewController.m in Sources */,
73062E6F1173C014000AB6D1 /* XSWindowController.m in Sources */,
73062E781173C0CA000AB6D1 /* GBViewController.m in Sources */,
Please sign in to comment.
Something went wrong with that request. Please try again.