Skip to content

Commit

Permalink
First commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewmccormack committed May 20, 2012
1 parent b728722 commit baf238a
Show file tree
Hide file tree
Showing 13 changed files with 6,216 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -13,3 +13,4 @@ build/*
xcuserdata
profile
*.moved-aside
.DS_Store
320 changes: 320 additions & 0 deletions iCloudCoreDataTester.xcodeproj/project.pbxproj
@@ -0,0 +1,320 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
070CF2BD1512406A00D0C8CA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 070CF2BC1512406A00D0C8CA /* Cocoa.framework */; };
070CF2C71512406A00D0C8CA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 070CF2C51512406A00D0C8CA /* InfoPlist.strings */; };
070CF2C91512406A00D0C8CA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 070CF2C81512406A00D0C8CA /* main.m */; };
070CF2CD1512406A00D0C8CA /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 070CF2CB1512406A00D0C8CA /* Credits.rtf */; };
070CF2D01512406A00D0C8CA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 070CF2CF1512406A00D0C8CA /* AppDelegate.m */; };
070CF2D31512406A00D0C8CA /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 070CF2D11512406A00D0C8CA /* MainMenu.xib */; };
070CF2D61512406A00D0C8CA /* iCloudCoreDataTester.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 070CF2D41512406A00D0C8CA /* iCloudCoreDataTester.xcdatamodeld */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
070CF2B81512406A00D0C8CA /* iCloudCoreDataTester.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iCloudCoreDataTester.app; sourceTree = BUILT_PRODUCTS_DIR; };
070CF2BC1512406A00D0C8CA /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
070CF2BF1512406A00D0C8CA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
070CF2C01512406A00D0C8CA /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
070CF2C11512406A00D0C8CA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
070CF2C41512406A00D0C8CA /* iCloudCoreDataTester-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iCloudCoreDataTester-Info.plist"; sourceTree = "<group>"; };
070CF2C61512406A00D0C8CA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
070CF2C81512406A00D0C8CA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
070CF2CA1512406A00D0C8CA /* iCloudCoreDataTester-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iCloudCoreDataTester-Prefix.pch"; sourceTree = "<group>"; };
070CF2CC1512406A00D0C8CA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
070CF2CE1512406A00D0C8CA /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
070CF2CF1512406A00D0C8CA /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
070CF2D21512406A00D0C8CA /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
070CF2D51512406A00D0C8CA /* iCloudCoreDataTester.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = iCloudCoreDataTester.xcdatamodel; sourceTree = "<group>"; };
072661DE15135B800015E115 /* iCloudCoreDataTester.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = iCloudCoreDataTester.entitlements; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
070CF2B51512406A00D0C8CA /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
070CF2BD1512406A00D0C8CA /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
070CF2AD1512406A00D0C8CA = {
isa = PBXGroup;
children = (
070CF2C21512406A00D0C8CA /* iCloudCoreDataTester */,
070CF2BB1512406A00D0C8CA /* Frameworks */,
070CF2B91512406A00D0C8CA /* Products */,
);
sourceTree = "<group>";
};
070CF2B91512406A00D0C8CA /* Products */ = {
isa = PBXGroup;
children = (
070CF2B81512406A00D0C8CA /* iCloudCoreDataTester.app */,
);
name = Products;
sourceTree = "<group>";
};
070CF2BB1512406A00D0C8CA /* Frameworks */ = {
isa = PBXGroup;
children = (
070CF2BC1512406A00D0C8CA /* Cocoa.framework */,
070CF2BE1512406A00D0C8CA /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
070CF2BE1512406A00D0C8CA /* Other Frameworks */ = {
isa = PBXGroup;
children = (
070CF2BF1512406A00D0C8CA /* AppKit.framework */,
070CF2C01512406A00D0C8CA /* CoreData.framework */,
070CF2C11512406A00D0C8CA /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
070CF2C21512406A00D0C8CA /* iCloudCoreDataTester */ = {
isa = PBXGroup;
children = (
072661DE15135B800015E115 /* iCloudCoreDataTester.entitlements */,
070CF2CE1512406A00D0C8CA /* AppDelegate.h */,
070CF2CF1512406A00D0C8CA /* AppDelegate.m */,
070CF2D11512406A00D0C8CA /* MainMenu.xib */,
070CF2D41512406A00D0C8CA /* iCloudCoreDataTester.xcdatamodeld */,
070CF2C31512406A00D0C8CA /* Supporting Files */,
);
path = iCloudCoreDataTester;
sourceTree = "<group>";
};
070CF2C31512406A00D0C8CA /* Supporting Files */ = {
isa = PBXGroup;
children = (
070CF2C41512406A00D0C8CA /* iCloudCoreDataTester-Info.plist */,
070CF2C51512406A00D0C8CA /* InfoPlist.strings */,
070CF2C81512406A00D0C8CA /* main.m */,
070CF2CA1512406A00D0C8CA /* iCloudCoreDataTester-Prefix.pch */,
070CF2CB1512406A00D0C8CA /* Credits.rtf */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
070CF2B71512406A00D0C8CA /* iCloudCoreDataTester */ = {
isa = PBXNativeTarget;
buildConfigurationList = 070CF2D91512406A00D0C8CA /* Build configuration list for PBXNativeTarget "iCloudCoreDataTester" */;
buildPhases = (
070CF2B41512406A00D0C8CA /* Sources */,
070CF2B51512406A00D0C8CA /* Frameworks */,
070CF2B61512406A00D0C8CA /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = iCloudCoreDataTester;
productName = iCloudCoreDataTester;
productReference = 070CF2B81512406A00D0C8CA /* iCloudCoreDataTester.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
070CF2AF1512406A00D0C8CA /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0430;
ORGANIZATIONNAME = "The Mental Faculty";
};
buildConfigurationList = 070CF2B21512406A00D0C8CA /* Build configuration list for PBXProject "iCloudCoreDataTester" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 070CF2AD1512406A00D0C8CA;
productRefGroup = 070CF2B91512406A00D0C8CA /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
070CF2B71512406A00D0C8CA /* iCloudCoreDataTester */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
070CF2B61512406A00D0C8CA /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
070CF2C71512406A00D0C8CA /* InfoPlist.strings in Resources */,
070CF2CD1512406A00D0C8CA /* Credits.rtf in Resources */,
070CF2D31512406A00D0C8CA /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
070CF2B41512406A00D0C8CA /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
070CF2C91512406A00D0C8CA /* main.m in Sources */,
070CF2D01512406A00D0C8CA /* AppDelegate.m in Sources */,
070CF2D61512406A00D0C8CA /* iCloudCoreDataTester.xcdatamodeld in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
070CF2C51512406A00D0C8CA /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
070CF2C61512406A00D0C8CA /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
070CF2CB1512406A00D0C8CA /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
070CF2CC1512406A00D0C8CA /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
070CF2D11512406A00D0C8CA /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
070CF2D21512406A00D0C8CA /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
070CF2D71512406A00D0C8CA /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
070CF2D81512406A00D0C8CA /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
SDKROOT = macosx;
};
name = Release;
};
070CF2DA1512406A00D0C8CA /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = iCloudCoreDataTester/iCloudCoreDataTester.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "iCloudCoreDataTester/iCloudCoreDataTester-Prefix.pch";
INFOPLIST_FILE = "iCloudCoreDataTester/iCloudCoreDataTester-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
070CF2DB1512406A00D0C8CA /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = iCloudCoreDataTester/iCloudCoreDataTester.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "iCloudCoreDataTester/iCloudCoreDataTester-Prefix.pch";
INFOPLIST_FILE = "iCloudCoreDataTester/iCloudCoreDataTester-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
070CF2B21512406A00D0C8CA /* Build configuration list for PBXProject "iCloudCoreDataTester" */ = {
isa = XCConfigurationList;
buildConfigurations = (
070CF2D71512406A00D0C8CA /* Debug */,
070CF2D81512406A00D0C8CA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
070CF2D91512406A00D0C8CA /* Build configuration list for PBXNativeTarget "iCloudCoreDataTester" */ = {
isa = XCConfigurationList;
buildConfigurations = (
070CF2DA1512406A00D0C8CA /* Debug */,
070CF2DB1512406A00D0C8CA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCVersionGroup section */
070CF2D41512406A00D0C8CA /* iCloudCoreDataTester.xcdatamodeld */ = {
isa = XCVersionGroup;
children = (
070CF2D51512406A00D0C8CA /* iCloudCoreDataTester.xcdatamodel */,
);
currentVersion = 070CF2D51512406A00D0C8CA /* iCloudCoreDataTester.xcdatamodel */;
path = iCloudCoreDataTester.xcdatamodeld;
sourceTree = "<group>";
versionGroupType = wrapper.xcdatamodel;
};
/* End XCVersionGroup section */
};
rootObject = 070CF2AF1512406A00D0C8CA /* Project object */;
}
21 changes: 21 additions & 0 deletions iCloudCoreDataTester/AppDelegate.h
@@ -0,0 +1,21 @@
//
// AppDelegate.h
// iCloudCoreDataTester
//
// Created by Drew McCormack on 15/03/12.
// Copyright (c) 2012 The Mental Faculty. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface AppDelegate : NSObject <NSApplicationDelegate>

@property (assign) IBOutlet NSWindow *window;

@property (readwrite, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readwrite, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readwrite, strong, nonatomic) NSManagedObjectContext *managedObjectContext;

- (IBAction)saveAction:(id)sender;

@end

0 comments on commit baf238a

Please sign in to comment.