diff --git a/TheGreatCube/TheGreatCube.xcodeproj/project.pbxproj b/TheGreatCube/TheGreatCube.xcodeproj/project.pbxproj new file mode 100644 index 0000000..dcbd6ce --- /dev/null +++ b/TheGreatCube/TheGreatCube.xcodeproj/project.pbxproj @@ -0,0 +1,286 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + C0B61BBF1BF85AB800B91C36 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C0B61BBE1BF85AB800B91C36 /* AppDelegate.swift */; }; + C0B61BC11BF85AB800B91C36 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C0B61BC01BF85AB800B91C36 /* ViewController.swift */; }; + C0B61BC31BF85AB800B91C36 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C0B61BC21BF85AB800B91C36 /* Assets.xcassets */; }; + C0B61BC61BF85AB800B91C36 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C0B61BC41BF85AB800B91C36 /* Main.storyboard */; }; + C0B61BCF1BF85AD000B91C36 /* Renderer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0B61BCE1BF85AD000B91C36 /* Renderer.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + C0B61BBB1BF85AB800B91C36 /* TheGreatCube.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TheGreatCube.app; sourceTree = BUILT_PRODUCTS_DIR; }; + C0B61BBE1BF85AB800B91C36 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + C0B61BC01BF85AB800B91C36 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + C0B61BC21BF85AB800B91C36 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + C0B61BC51BF85AB800B91C36 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + C0B61BC71BF85AB800B91C36 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + C0B61BCE1BF85AD000B91C36 /* Renderer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Renderer.framework; path = "../../../../Library/Developer/Xcode/DerivedData/ThreeDee-gsfupkmqirobwqdscegzoiqzjodu/Build/Products/Debug/Renderer.framework"; sourceTree = ""; }; + C0B61BD01BF85AD400B91C36 /* Math.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Math.framework; path = "../../../../Library/Developer/Xcode/DerivedData/ThreeDee-gsfupkmqirobwqdscegzoiqzjodu/Build/Products/Debug/Math.framework"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + C0B61BB81BF85AB800B91C36 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C0B61BCF1BF85AD000B91C36 /* Renderer.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + C0B61BB21BF85AB800B91C36 = { + isa = PBXGroup; + children = ( + C0B61BD01BF85AD400B91C36 /* Math.framework */, + C0B61BCE1BF85AD000B91C36 /* Renderer.framework */, + C0B61BBD1BF85AB800B91C36 /* TheGreatCube */, + C0B61BBC1BF85AB800B91C36 /* Products */, + ); + sourceTree = ""; + }; + C0B61BBC1BF85AB800B91C36 /* Products */ = { + isa = PBXGroup; + children = ( + C0B61BBB1BF85AB800B91C36 /* TheGreatCube.app */, + ); + name = Products; + sourceTree = ""; + }; + C0B61BBD1BF85AB800B91C36 /* TheGreatCube */ = { + isa = PBXGroup; + children = ( + C0B61BBE1BF85AB800B91C36 /* AppDelegate.swift */, + C0B61BC01BF85AB800B91C36 /* ViewController.swift */, + C0B61BC21BF85AB800B91C36 /* Assets.xcassets */, + C0B61BC41BF85AB800B91C36 /* Main.storyboard */, + C0B61BC71BF85AB800B91C36 /* Info.plist */, + ); + path = TheGreatCube; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + C0B61BBA1BF85AB800B91C36 /* TheGreatCube */ = { + isa = PBXNativeTarget; + buildConfigurationList = C0B61BCA1BF85AB800B91C36 /* Build configuration list for PBXNativeTarget "TheGreatCube" */; + buildPhases = ( + C0B61BB71BF85AB800B91C36 /* Sources */, + C0B61BB81BF85AB800B91C36 /* Frameworks */, + C0B61BB91BF85AB800B91C36 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = TheGreatCube; + productName = TheGreatCube; + productReference = C0B61BBB1BF85AB800B91C36 /* TheGreatCube.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + C0B61BB31BF85AB800B91C36 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0710; + LastUpgradeCheck = 0710; + ORGANIZATIONNAME = "Eryn Wells"; + TargetAttributes = { + C0B61BBA1BF85AB800B91C36 = { + CreatedOnToolsVersion = 7.1.1; + }; + }; + }; + buildConfigurationList = C0B61BB61BF85AB800B91C36 /* Build configuration list for PBXProject "TheGreatCube" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = C0B61BB21BF85AB800B91C36; + productRefGroup = C0B61BBC1BF85AB800B91C36 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + C0B61BBA1BF85AB800B91C36 /* TheGreatCube */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + C0B61BB91BF85AB800B91C36 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C0B61BC31BF85AB800B91C36 /* Assets.xcassets in Resources */, + C0B61BC61BF85AB800B91C36 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + C0B61BB71BF85AB800B91C36 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C0B61BC11BF85AB800B91C36 /* ViewController.swift in Sources */, + C0B61BBF1BF85AB800B91C36 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + C0B61BC41BF85AB800B91C36 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + C0B61BC51BF85AB800B91C36 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C0B61BC81BF85AB800B91C36 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + C0B61BC91BF85AB800B91C36 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + C0B61BCB1BF85AB800B91C36 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = TheGreatCube/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = me.erynwells.graphics.TheGreatCube; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + C0B61BCC1BF85AB800B91C36 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = TheGreatCube/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = me.erynwells.graphics.TheGreatCube; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C0B61BB61BF85AB800B91C36 /* Build configuration list for PBXProject "TheGreatCube" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C0B61BC81BF85AB800B91C36 /* Debug */, + C0B61BC91BF85AB800B91C36 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C0B61BCA1BF85AB800B91C36 /* Build configuration list for PBXNativeTarget "TheGreatCube" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C0B61BCB1BF85AB800B91C36 /* Debug */, + C0B61BCC1BF85AB800B91C36 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = C0B61BB31BF85AB800B91C36 /* Project object */; +} diff --git a/TheGreatCube/TheGreatCube/AppDelegate.swift b/TheGreatCube/TheGreatCube/AppDelegate.swift new file mode 100644 index 0000000..27c7f34 --- /dev/null +++ b/TheGreatCube/TheGreatCube/AppDelegate.swift @@ -0,0 +1,26 @@ +// +// AppDelegate.swift +// TheGreatCube +// +// Created by Eryn Wells on 11/14/15. +// Copyright © 2015 Eryn Wells. All rights reserved. +// + +import Cocoa + +@NSApplicationMain +class AppDelegate: NSObject, NSApplicationDelegate { + + + + func applicationDidFinishLaunching(aNotification: NSNotification) { + // Insert code here to initialize your application + } + + func applicationWillTerminate(aNotification: NSNotification) { + // Insert code here to tear down your application + } + + +} + diff --git a/TheGreatCube/TheGreatCube/Assets.xcassets/AppIcon.appiconset/Contents.json b/TheGreatCube/TheGreatCube/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2db2b1c --- /dev/null +++ b/TheGreatCube/TheGreatCube/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/TheGreatCube/TheGreatCube/Base.lproj/Main.storyboard b/TheGreatCube/TheGreatCube/Base.lproj/Main.storyboard new file mode 100644 index 0000000..5c64764 --- /dev/null +++ b/TheGreatCube/TheGreatCube/Base.lproj/Main.storyboard @@ -0,0 +1,681 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TheGreatCube/TheGreatCube/Info.plist b/TheGreatCube/TheGreatCube/Info.plist new file mode 100644 index 0000000..31bb02a --- /dev/null +++ b/TheGreatCube/TheGreatCube/Info.plist @@ -0,0 +1,34 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + Copyright © 2015 Eryn Wells. All rights reserved. + NSMainStoryboardFile + Main + NSPrincipalClass + NSApplication + + diff --git a/TheGreatCube/TheGreatCube/ViewController.swift b/TheGreatCube/TheGreatCube/ViewController.swift new file mode 100644 index 0000000..3ccce9e --- /dev/null +++ b/TheGreatCube/TheGreatCube/ViewController.swift @@ -0,0 +1,27 @@ +// +// ViewController.swift +// TheGreatCube +// +// Created by Eryn Wells on 11/14/15. +// Copyright © 2015 Eryn Wells. All rights reserved. +// + +import Cocoa + +class ViewController: NSViewController { + + override func viewDidLoad() { + super.viewDidLoad() + + // Do any additional setup after loading the view. + } + + override var representedObject: AnyObject? { + didSet { + // Update the view, if already loaded. + } + } + + +} + diff --git a/ThreeDee.xcworkspace/contents.xcworkspacedata b/ThreeDee.xcworkspace/contents.xcworkspacedata index bbbf09d..5f750ef 100644 --- a/ThreeDee.xcworkspace/contents.xcworkspacedata +++ b/ThreeDee.xcworkspace/contents.xcworkspacedata @@ -1,6 +1,13 @@ + + + +