Skip to content

Commit

Permalink
Added example project
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Dec 11, 2018
1 parent f2da987 commit 78ee738
Show file tree
Hide file tree
Showing 8 changed files with 425 additions and 0 deletions.
161 changes: 161 additions & 0 deletions Euclid.xcodeproj/project.pbxproj
Expand Up @@ -40,6 +40,12 @@
016FAB7421BFE80000AF60DC /* SceneKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 016FAB4A21BFE7C200AF60DC /* SceneKit.swift */; };
016FAB7521BFE80000AF60DC /* Plane.swift in Sources */ = {isa = PBXBuildFile; fileRef = 016FAB4D21BFE7C200AF60DC /* Plane.swift */; };
016FAB7621BFE80000AF60DC /* Shapes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 016FAB4E21BFE7C200AF60DC /* Shapes.swift */; };
016FABED21C078E400AF60DC /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 016FABEC21C078E400AF60DC /* AppDelegate.swift */; };
016FABF121C078E400AF60DC /* GameViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 016FABF021C078E400AF60DC /* GameViewController.swift */; };
016FABF421C078E400AF60DC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 016FABF221C078E400AF60DC /* Main.storyboard */; };
016FABF621C078E500AF60DC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 016FABF521C078E500AF60DC /* Assets.xcassets */; };
016FABF921C078E500AF60DC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 016FABF721C078E500AF60DC /* LaunchScreen.storyboard */; };
016FABFF21C0794900AF60DC /* Euclid.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 016FAB7C21BFE80000AF60DC /* Euclid.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -50,6 +56,13 @@
remoteGlobalIDString = 016FAB2821BFE78100AF60DC;
remoteInfo = Euclid;
};
016FAC0021C0795C00AF60DC /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 016FAB2021BFE78100AF60DC /* Project object */;
proxyType = 1;
remoteGlobalIDString = 016FAB6721BFE80000AF60DC;
remoteInfo = "Euclid (iOS)";
};
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
Expand Down Expand Up @@ -77,6 +90,13 @@
016FAB5F21BFE7CE00AF60DC /* CSGTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CSGTests.swift; sourceTree = "<group>"; };
016FAB6021BFE7CE00AF60DC /* ShapeTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShapeTests.swift; sourceTree = "<group>"; };
016FAB7C21BFE80000AF60DC /* Euclid.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Euclid.framework; sourceTree = BUILT_PRODUCTS_DIR; };
016FABEA21C078E400AF60DC /* EuclidExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = EuclidExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
016FABEC21C078E400AF60DC /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
016FABF021C078E400AF60DC /* GameViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameViewController.swift; sourceTree = "<group>"; };
016FABF321C078E400AF60DC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
016FABF521C078E500AF60DC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
016FABF821C078E500AF60DC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
016FABFA21C078E500AF60DC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -102,6 +122,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
016FABE721C078E400AF60DC /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
016FABFF21C0794900AF60DC /* Euclid.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -110,6 +138,7 @@
children = (
016FAB2B21BFE78100AF60DC /* Sources */,
016FAB3621BFE78100AF60DC /* Tests */,
016FABEB21C078E400AF60DC /* Example */,
016FAB2A21BFE78100AF60DC /* Products */,
);
sourceTree = "<group>";
Expand All @@ -120,6 +149,7 @@
016FAB2921BFE78100AF60DC /* Euclid.framework */,
016FAB3221BFE78100AF60DC /* EuclidTests.xctest */,
016FAB7C21BFE80000AF60DC /* Euclid.framework */,
016FABEA21C078E400AF60DC /* EuclidExample.app */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -159,6 +189,19 @@
path = Tests;
sourceTree = "<group>";
};
016FABEB21C078E400AF60DC /* Example */ = {
isa = PBXGroup;
children = (
016FABEC21C078E400AF60DC /* AppDelegate.swift */,
016FABF021C078E400AF60DC /* GameViewController.swift */,
016FABF221C078E400AF60DC /* Main.storyboard */,
016FABF521C078E500AF60DC /* Assets.xcassets */,
016FABF721C078E500AF60DC /* LaunchScreen.storyboard */,
016FABFA21C078E500AF60DC /* Info.plist */,
);
path = Example;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -235,6 +278,24 @@
productReference = 016FAB7C21BFE80000AF60DC /* Euclid.framework */;
productType = "com.apple.product-type.framework";
};
016FABE921C078E400AF60DC /* Example */ = {
isa = PBXNativeTarget;
buildConfigurationList = 016FABFD21C078E500AF60DC /* Build configuration list for PBXNativeTarget "Example" */;
buildPhases = (
016FABE621C078E400AF60DC /* Sources */,
016FABE721C078E400AF60DC /* Frameworks */,
016FABE821C078E400AF60DC /* Resources */,
);
buildRules = (
);
dependencies = (
016FAC0121C0795C00AF60DC /* PBXTargetDependency */,
);
name = Example;
productName = Example;
productReference = 016FABEA21C078E400AF60DC /* EuclidExample.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -252,6 +313,9 @@
016FAB3121BFE78100AF60DC = {
CreatedOnToolsVersion = 10.1;
};
016FABE921C078E400AF60DC = {
CreatedOnToolsVersion = 10.1;
};
};
};
buildConfigurationList = 016FAB2321BFE78100AF60DC /* Build configuration list for PBXProject "Euclid" */;
Expand All @@ -260,6 +324,7 @@
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 016FAB1F21BFE78100AF60DC;
productRefGroup = 016FAB2A21BFE78100AF60DC /* Products */;
Expand All @@ -269,6 +334,7 @@
016FAB2821BFE78100AF60DC /* Euclid (Mac) */,
016FAB6721BFE80000AF60DC /* Euclid (iOS) */,
016FAB3121BFE78100AF60DC /* EuclidTests */,
016FABE921C078E400AF60DC /* Example */,
);
};
/* End PBXProject section */
Expand All @@ -295,6 +361,16 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
016FABE821C078E400AF60DC /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
016FABF921C078E500AF60DC /* LaunchScreen.storyboard in Resources */,
016FABF621C078E500AF60DC /* Assets.xcassets in Resources */,
016FABF421C078E400AF60DC /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -349,6 +425,15 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
016FABE621C078E400AF60DC /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
016FABF121C078E400AF60DC /* GameViewController.swift in Sources */,
016FABED21C078E400AF60DC /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand All @@ -357,8 +442,32 @@
target = 016FAB2821BFE78100AF60DC /* Euclid (Mac) */;
targetProxy = 016FAB3421BFE78100AF60DC /* PBXContainerItemProxy */;
};
016FAC0121C0795C00AF60DC /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 016FAB6721BFE80000AF60DC /* Euclid (iOS) */;
targetProxy = 016FAC0021C0795C00AF60DC /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
016FABF221C078E400AF60DC /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
016FABF321C078E400AF60DC /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
016FABF721C078E500AF60DC /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
016FABF821C078E500AF60DC /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
016FAB3B21BFE78100AF60DC /* Debug */ = {
isa = XCBuildConfiguration;
Expand Down Expand Up @@ -641,6 +750,49 @@
};
name = Release;
};
016FABFB21C078E500AF60DC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 8VQKF583ED;
INFOPLIST_FILE = Example/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.Example;
PRODUCT_NAME = EuclidExample;
SDKROOT = iphoneos;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
016FABFC21C078E500AF60DC /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 8VQKF583ED;
INFOPLIST_FILE = Example/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.Example;
PRODUCT_NAME = EuclidExample;
SDKROOT = iphoneos;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -680,6 +832,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
016FABFD21C078E500AF60DC /* Build configuration list for PBXNativeTarget "Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
016FABFB21C078E500AF60DC /* Debug */,
016FABFC21C078E500AF60DC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 016FAB2021BFE78100AF60DC /* Project object */;
Expand Down
15 changes: 15 additions & 0 deletions Example/AppDelegate.swift
@@ -0,0 +1,15 @@
//
// AppDelegate.swift
// Example
//
// Created by Nick Lockwood on 11/12/2018.
// Copyright © 2018 Nick Lockwood. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
}

98 changes: 98 additions & 0 deletions Example/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,98 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "1x"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
6 changes: 6 additions & 0 deletions Example/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}

0 comments on commit 78ee738

Please sign in to comment.