From: Alan Knowles Date: Wed, 30 Mar 2022 09:19:54 +0000 (+0800) Subject: add correct code X-Git-Url: http://git.roojs.org/?p=app.GameProjectTest;a=commitdiff_plain;h=19f2f521ac6ce552d10b01ecfff76b95efc42c49 add correct code --- diff --git a/GameProjectTest/AppDelegate.swift b/GameProjectTest/AppDelegate.swift index f17c824..6414124 100644 --- a/GameProjectTest/AppDelegate.swift +++ b/GameProjectTest/AppDelegate.swift @@ -1,13 +1,13 @@ // // AppDelegate.swift -// GameProjectTest +// GameProjectTwo // -// Created by Alan Knowles on 29/3/2022. +// Created by Alan Knowles on 30/3/2022. // import UIKit -@main +@UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? @@ -15,6 +15,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. + + window = UIWindow() + window?.makeKeyAndVisible() + window?.rootViewController = ContainerController() return true } diff --git a/GameProjectTest/Assets.xcassets/Image.imageset/Contents.json b/GameProjectTest/Assets.xcassets/Image.imageset/Contents.json new file mode 100644 index 0000000..f601856 --- /dev/null +++ b/GameProjectTest/Assets.xcassets/Image.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "iterations.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/GameProjectTest/Assets.xcassets/Image.imageset/iterations.png b/GameProjectTest/Assets.xcassets/Image.imageset/iterations.png new file mode 100644 index 0000000..cd1f79f Binary files /dev/null and b/GameProjectTest/Assets.xcassets/Image.imageset/iterations.png differ diff --git a/GameProjectTest/ContainerController.swift b/GameProjectTest/ContainerController.swift new file mode 100644 index 0000000..9818187 --- /dev/null +++ b/GameProjectTest/ContainerController.swift @@ -0,0 +1,56 @@ +// +// ContainerController.swift +// UPlab_MVC +// +// Created by Ernest.lee on 17/10/2019. +// Copyright © 2019 Ernest.lee. All rights reserved. +// + +import UIKit + +class ContainerController : UIViewController +{ + //MARK: - Properties + var homeVC : HomeController! + var centerController : UIViewController! + + + + + //MARK: - Init + override func viewDidLoad(){ + super.viewDidLoad() + configureHomeController() + } + + override var preferredStatusBarStyle: UIStatusBarStyle { + return .lightContent + } + + override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation { + return .slide + } + + override var prefersStatusBarHidden: Bool { + return true + } + + //MARK: - Handlers + + func configureHomeController() { + let homeController = HomeController() + // homeController.delegate = self + homeVC = homeController + centerController = UINavigationController(rootViewController: homeController) + + view.addSubview(centerController.view) + addChild(centerController) + centerController.didMove(toParent: self) + + + } + +} + + + diff --git a/GameProjectTest/GameViewController.swift b/GameProjectTest/GameViewController.swift index be5bd9c..1dbd238 100644 --- a/GameProjectTest/GameViewController.swift +++ b/GameProjectTest/GameViewController.swift @@ -1,20 +1,23 @@ // // GameViewController.swift -// GameProjectTest +// GameProjectTwo // -// Created by Alan Knowles on 29/3/2022. +// Created by Alan Knowles on 30/3/2022. // import UIKit import QuartzCore import SceneKit - - - - - class GameViewController: UIViewController { + + override func loadView() + { + let scnView = SCNView() + self.view = scnView + + } + override func viewDidLoad() { super.viewDidLoad() @@ -45,10 +48,10 @@ class GameViewController: UIViewController { scene.rootNode.addChildNode(ambientLightNode) // retrieve the ship node - let ship = scene.rootNode.childNode(withName: "ship", recursively: true)! + //let ship = scene.rootNode.childNode(withName: "ship", recursively: true)! // animate the 3d object - ship.runAction(SCNAction.repeatForever(SCNAction.rotateBy(x: 0, y: 2, z: 0, duration: 1))) + //ship.runAction(SCNAction.repeatForever(SCNAction.rotateBy(x: 0, y: 2, z: 0, duration: 1))) // retrieve the SCNView let scnView = self.view as! SCNView @@ -63,50 +66,15 @@ class GameViewController: UIViewController { scnView.showsStatistics = true // configure the view - scnView.backgroundColor = UIColor.black + scnView.backgroundColor = UIColor.red // add a tap gesture recognizer - let tapGesture = UITapGestureRecognizer(target: self, action: #selector(handleTap(_:))) - scnView.addGestureRecognizer(tapGesture) - scnView.isHidden = true + //let tapGesture = UITapGestureRecognizer(target: self, action: #selector(handleTap(_:))) + //scnView.addGestureRecognizer(tapGesture) } - @objc - func handleTap(_ gestureRecognize: UIGestureRecognizer) { - // retrieve the SCNView - let scnView = self.view as! SCNView - - // check what nodes are tapped - let p = gestureRecognize.location(in: scnView) - let hitResults = scnView.hitTest(p, options: [:]) - // check that we clicked on at least one object - if hitResults.count > 0 { - // retrieved the first clicked object - let result = hitResults[0] - - // get its material - let material = result.node.geometry!.firstMaterial! - - // highlight it - SCNTransaction.begin() - SCNTransaction.animationDuration = 0.5 - - // on completion - unhighlight - SCNTransaction.completionBlock = { - SCNTransaction.begin() - SCNTransaction.animationDuration = 0.5 - - material.emission.contents = UIColor.black - - SCNTransaction.commit() - } - - material.emission.contents = UIColor.red - - SCNTransaction.commit() - } - } + override var shouldAutorotate: Bool { return true diff --git a/GameProjectTest/HomeController.swift b/GameProjectTest/HomeController.swift new file mode 100644 index 0000000..35c2486 --- /dev/null +++ b/GameProjectTest/HomeController.swift @@ -0,0 +1,155 @@ +// +// HomeViewController.swift +// UPlab_MVC +// +// Created by Ernest.lee on 17/10/2019. +// Copyright © 2019 Ernest.lee. All rights reserved. +// + +import UIKit +import SceneKit + + +public extension UIView { + enum ViewSide { + case Left, Right, Top, Bottom + } + func addBorder(toSide side: ViewSide, withColor color: CGColor, andThickness thickness: CGFloat) { + + let border = CALayer() + border.backgroundColor = color + + switch side { + case .Left: border.frame = CGRect(x: frame.minX, y: frame.minY, width: thickness, height: frame.height); break + case .Right: border.frame = CGRect(x: frame.maxX, y: frame.minY, width: thickness, height: frame.height); break + case .Top: border.frame = CGRect(x: frame.minX, y: frame.minY, width: frame.width, height: thickness); break + case .Bottom: border.frame = CGRect(x: frame.minX, y: frame.maxY, width: frame.width, height: thickness); break + } + + layer.addSublayer(border) + } + func anchor(top: NSLayoutYAxisAnchor?, left: NSLayoutXAxisAnchor?, bottom: NSLayoutYAxisAnchor?, right: NSLayoutXAxisAnchor?, + paddingTop: CGFloat, paddingLeft: CGFloat, paddingBottom: CGFloat, paddingRight: CGFloat, + width: CGFloat, height: CGFloat, enableInsets: Bool) { + var topInset = CGFloat(0) + var bottomInset = CGFloat(0) + + if #available(iOS 11, *), enableInsets { + let insets = self.safeAreaInsets + topInset = insets.top + bottomInset = insets.bottom + + } + + + translatesAutoresizingMaskIntoConstraints = false + + if let top = top { + self.topAnchor.constraint(equalTo: top, constant: paddingTop+topInset).isActive = true + } + if let left = left { + self.leftAnchor.constraint(equalTo: left, constant: paddingLeft).isActive = true + } + if let right = right { + rightAnchor.constraint(equalTo: right, constant: -paddingRight).isActive = true + } + if let bottom = bottom { + bottomAnchor.constraint(equalTo: bottom, constant: -paddingBottom-bottomInset).isActive = true + } + if height != 0 { + heightAnchor.constraint(equalToConstant: height).isActive = true + } + if width != 0 { + widthAnchor.constraint(equalToConstant: width).isActive = true + } + + } +} +/* + HomeVC is the main controller, it is responsible for Nav bar control and setting up childVC + */ + +class HomeController: UIViewController{ + + + + //MARK: Properties + let mapVC: GameViewController = GameViewController() + + + + //MARK: Init + override func viewDidLoad() { + super.viewDidLoad() + view.backgroundColor = .gray + setUpVC() + setUpNavBar() + setConstraints() + } + + + + func setUpVC(){ + + //Map VC + + addChild(mapVC) + + // if let frame = nil { + // mapVC.view.frame = frame + // } + + view.addSubview(mapVC.view) + mapVC.didMove(toParent: self) + + + } + + + func setConstraints(){ + /* + mapVC.view.anchor(top: nil, left: nil, + bottom: nil, right: nil, + paddingTop: 0, paddingLeft: 0, paddingBottom: 0, paddingRight: 0, width: 0, height: 0, enableInsets: false) + if #available(iOS 11.0, *) { + mapVC.view.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor).isActive = true + } + + mapVC.view.addBorder(toSide: .Left, withColor: UIColor.black.cgColor, andThickness: 1.0) + */ + + + } +} + + + +extension HomeController { + func setUpNavBar(){ + navigationController?.navigationBar.barTintColor = .white + navigationController?.navigationBar.isTranslucent = true + navigationController?.navigationBar.backgroundColor = .white + + + let threeButton = UIBarButtonItem(image: #imageLiteral(resourceName: "Image").withRenderingMode(.alwaysOriginal), + style: .plain, + target: self, + action: #selector(handleThree)) + + + + + navigationItem.leftBarButtonItems = [threeButton] + + } + + //MARK: - Nav Bar Handler + + + @objc func handleThree(){ + //delegate?.handleThreeToggle() + + } + +} + diff --git a/GameProjectTest/Main.storyboard b/GameProjectTest/Main.storyboard new file mode 100644 index 0000000..dc00fc4 --- /dev/null +++ b/GameProjectTest/Main.storyboard @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app.GameProjectTest.xcodeproj/project.pbxproj b/app.GameProjectTest.xcodeproj/project.pbxproj index 3637ac9..cfcffbc 100644 --- a/app.GameProjectTest.xcodeproj/project.pbxproj +++ b/app.GameProjectTest.xcodeproj/project.pbxproj @@ -7,26 +7,30 @@ objects = { /* Begin PBXBuildFile section */ - E7F55F6327F2E26100A63CCF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7F55F6227F2E26100A63CCF /* AppDelegate.swift */; }; - E7F55F6527F2E26100A63CCF /* art.scnassets in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F6427F2E26100A63CCF /* art.scnassets */; }; - E7F55F6727F2E26100A63CCF /* GameViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7F55F6627F2E26100A63CCF /* GameViewController.swift */; }; - E7F55F6A27F2E26100A63CCF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F6827F2E26100A63CCF /* Main.storyboard */; }; - E7F55F6C27F2E26200A63CCF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F6B27F2E26200A63CCF /* Assets.xcassets */; }; - E7F55F6F27F2E26200A63CCF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F6D27F2E26200A63CCF /* LaunchScreen.storyboard */; }; + E7F55F8F27F4271800A63CCF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7F55F8E27F4271800A63CCF /* AppDelegate.swift */; }; + E7F55F9127F4271800A63CCF /* art.scnassets in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F9027F4271800A63CCF /* art.scnassets */; }; + E7F55F9327F4271800A63CCF /* GameViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7F55F9227F4271800A63CCF /* GameViewController.swift */; }; + E7F55F9827F4271900A63CCF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F9727F4271900A63CCF /* Assets.xcassets */; }; + E7F55F9B27F4271900A63CCF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F9927F4271900A63CCF /* LaunchScreen.storyboard */; }; + E7F55FA227F427B800A63CCF /* ContainerController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7F55FA127F427B800A63CCF /* ContainerController.swift */; }; + E7F55FA627F434D400A63CCF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E7F55FA527F434D400A63CCF /* Main.storyboard */; }; + E7F55FA827F4399A00A63CCF /* HomeController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7F55FA727F4399A00A63CCF /* HomeController.swift */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - E7F55F5F27F2E26100A63CCF /* app.GameProjectTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = app.GameProjectTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; - E7F55F6227F2E26100A63CCF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - E7F55F6427F2E26100A63CCF /* art.scnassets */ = {isa = PBXFileReference; lastKnownFileType = wrapper.scnassets; path = art.scnassets; sourceTree = ""; }; - E7F55F6627F2E26100A63CCF /* GameViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameViewController.swift; sourceTree = ""; }; - E7F55F6927F2E26100A63CCF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - E7F55F6B27F2E26200A63CCF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - E7F55F6E27F2E26200A63CCF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + E7F55F8B27F4271800A63CCF /* app.GameProjectTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = app.GameProjectTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E7F55F8E27F4271800A63CCF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + E7F55F9027F4271800A63CCF /* art.scnassets */ = {isa = PBXFileReference; lastKnownFileType = wrapper.scnassets; path = art.scnassets; sourceTree = ""; }; + E7F55F9227F4271800A63CCF /* GameViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameViewController.swift; sourceTree = ""; }; + E7F55F9727F4271900A63CCF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + E7F55F9A27F4271900A63CCF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + E7F55FA127F427B800A63CCF /* ContainerController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContainerController.swift; sourceTree = ""; }; + E7F55FA527F434D400A63CCF /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; + E7F55FA727F4399A00A63CCF /* HomeController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeController.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - E7F55F5C27F2E26100A63CCF /* Frameworks */ = { + E7F55F8827F4271800A63CCF /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( @@ -36,31 +40,33 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - E7F55F5627F2E26100A63CCF = { + E7F55F8227F4271800A63CCF = { isa = PBXGroup; children = ( - E7F55F6127F2E26100A63CCF /* GameProjectTest */, - E7F55F6027F2E26100A63CCF /* Products */, + E7F55F8D27F4271800A63CCF /* GameProjectTest */, + E7F55F8C27F4271800A63CCF /* Products */, ); sourceTree = ""; }; - E7F55F6027F2E26100A63CCF /* Products */ = { + E7F55F8C27F4271800A63CCF /* Products */ = { isa = PBXGroup; children = ( - E7F55F5F27F2E26100A63CCF /* app.GameProjectTest.app */, + E7F55F8B27F4271800A63CCF /* app.GameProjectTest.app */, ); name = Products; sourceTree = ""; }; - E7F55F6127F2E26100A63CCF /* GameProjectTest */ = { + E7F55F8D27F4271800A63CCF /* GameProjectTest */ = { isa = PBXGroup; children = ( - E7F55F6227F2E26100A63CCF /* AppDelegate.swift */, - E7F55F6427F2E26100A63CCF /* art.scnassets */, - E7F55F6627F2E26100A63CCF /* GameViewController.swift */, - E7F55F6827F2E26100A63CCF /* Main.storyboard */, - E7F55F6B27F2E26200A63CCF /* Assets.xcassets */, - E7F55F6D27F2E26200A63CCF /* LaunchScreen.storyboard */, + E7F55F8E27F4271800A63CCF /* AppDelegate.swift */, + E7F55F9027F4271800A63CCF /* art.scnassets */, + E7F55F9227F4271800A63CCF /* GameViewController.swift */, + E7F55F9727F4271900A63CCF /* Assets.xcassets */, + E7F55F9927F4271900A63CCF /* LaunchScreen.storyboard */, + E7F55FA127F427B800A63CCF /* ContainerController.swift */, + E7F55FA527F434D400A63CCF /* Main.storyboard */, + E7F55FA727F4399A00A63CCF /* HomeController.swift */, ); path = GameProjectTest; sourceTree = ""; @@ -68,39 +74,39 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - E7F55F5E27F2E26100A63CCF /* app.GameProjectTest */ = { + E7F55F8A27F4271800A63CCF /* app.GameProjectTest */ = { isa = PBXNativeTarget; - buildConfigurationList = E7F55F7227F2E26200A63CCF /* Build configuration list for PBXNativeTarget "app.GameProjectTest" */; + buildConfigurationList = E7F55F9E27F4271900A63CCF /* Build configuration list for PBXNativeTarget "app.GameProjectTest" */; buildPhases = ( - E7F55F5B27F2E26100A63CCF /* Sources */, - E7F55F5C27F2E26100A63CCF /* Frameworks */, - E7F55F5D27F2E26100A63CCF /* Resources */, + E7F55F8727F4271800A63CCF /* Sources */, + E7F55F8827F4271800A63CCF /* Frameworks */, + E7F55F8927F4271800A63CCF /* Resources */, ); buildRules = ( ); dependencies = ( ); name = app.GameProjectTest; - productName = GameProjectTest; - productReference = E7F55F5F27F2E26100A63CCF /* app.GameProjectTest.app */; + productName = GameProjectTwo; + productReference = E7F55F8B27F4271800A63CCF /* app.GameProjectTest.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ - E7F55F5727F2E26100A63CCF /* Project object */ = { + E7F55F8327F4271800A63CCF /* Project object */ = { isa = PBXProject; attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 1330; LastUpgradeCheck = 1330; TargetAttributes = { - E7F55F5E27F2E26100A63CCF = { + E7F55F8A27F4271800A63CCF = { CreatedOnToolsVersion = 13.3; }; }; }; - buildConfigurationList = E7F55F5A27F2E26100A63CCF /* Build configuration list for PBXProject "app.GameProjectTest" */; + buildConfigurationList = E7F55F8627F4271800A63CCF /* Build configuration list for PBXProject "app.GameProjectTest" */; compatibilityVersion = "Xcode 13.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -108,55 +114,49 @@ en, Base, ); - mainGroup = E7F55F5627F2E26100A63CCF; - productRefGroup = E7F55F6027F2E26100A63CCF /* Products */; + mainGroup = E7F55F8227F4271800A63CCF; + productRefGroup = E7F55F8C27F4271800A63CCF /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - E7F55F5E27F2E26100A63CCF /* app.GameProjectTest */, + E7F55F8A27F4271800A63CCF /* app.GameProjectTest */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - E7F55F5D27F2E26100A63CCF /* Resources */ = { + E7F55F8927F4271800A63CCF /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - E7F55F6527F2E26100A63CCF /* art.scnassets in Resources */, - E7F55F6F27F2E26200A63CCF /* LaunchScreen.storyboard in Resources */, - E7F55F6C27F2E26200A63CCF /* Assets.xcassets in Resources */, - E7F55F6A27F2E26100A63CCF /* Main.storyboard in Resources */, + E7F55F9127F4271800A63CCF /* art.scnassets in Resources */, + E7F55F9B27F4271900A63CCF /* LaunchScreen.storyboard in Resources */, + E7F55F9827F4271900A63CCF /* Assets.xcassets in Resources */, + E7F55FA627F434D400A63CCF /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - E7F55F5B27F2E26100A63CCF /* Sources */ = { + E7F55F8727F4271800A63CCF /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - E7F55F6727F2E26100A63CCF /* GameViewController.swift in Sources */, - E7F55F6327F2E26100A63CCF /* AppDelegate.swift in Sources */, + E7F55FA827F4399A00A63CCF /* HomeController.swift in Sources */, + E7F55F9327F4271800A63CCF /* GameViewController.swift in Sources */, + E7F55F8F27F4271800A63CCF /* AppDelegate.swift in Sources */, + E7F55FA227F427B800A63CCF /* ContainerController.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ - E7F55F6827F2E26100A63CCF /* Main.storyboard */ = { + E7F55F9927F4271900A63CCF /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( - E7F55F6927F2E26100A63CCF /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - E7F55F6D27F2E26200A63CCF /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - E7F55F6E27F2E26200A63CCF /* Base */, + E7F55F9A27F4271900A63CCF /* Base */, ); name = LaunchScreen.storyboard; sourceTree = ""; @@ -164,7 +164,7 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ - E7F55F7027F2E26200A63CCF /* Debug */ = { + E7F55F9C27F4271900A63CCF /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -224,7 +224,7 @@ }; name = Debug; }; - E7F55F7127F2E26200A63CCF /* Release */ = { + E7F55F9D27F4271900A63CCF /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -278,7 +278,7 @@ }; name = Release; }; - E7F55F7327F2E26200A63CCF /* Debug */ = { + E7F55F9F27F4271900A63CCF /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -297,7 +297,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = roojs.GameProjectTest; + PRODUCT_BUNDLE_IDENTIFIER = roojs.GameProjectTwo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -305,7 +305,7 @@ }; name = Debug; }; - E7F55F7427F2E26200A63CCF /* Release */ = { + E7F55FA027F4271900A63CCF /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -324,7 +324,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = roojs.GameProjectTest; + PRODUCT_BUNDLE_IDENTIFIER = roojs.GameProjectTwo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -335,25 +335,25 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - E7F55F5A27F2E26100A63CCF /* Build configuration list for PBXProject "app.GameProjectTest" */ = { + E7F55F8627F4271800A63CCF /* Build configuration list for PBXProject "app.GameProjectTest" */ = { isa = XCConfigurationList; buildConfigurations = ( - E7F55F7027F2E26200A63CCF /* Debug */, - E7F55F7127F2E26200A63CCF /* Release */, + E7F55F9C27F4271900A63CCF /* Debug */, + E7F55F9D27F4271900A63CCF /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - E7F55F7227F2E26200A63CCF /* Build configuration list for PBXNativeTarget "app.GameProjectTest" */ = { + E7F55F9E27F4271900A63CCF /* Build configuration list for PBXNativeTarget "app.GameProjectTest" */ = { isa = XCConfigurationList; buildConfigurations = ( - E7F55F7327F2E26200A63CCF /* Debug */, - E7F55F7427F2E26200A63CCF /* Release */, + E7F55F9F27F4271900A63CCF /* Debug */, + E7F55FA027F4271900A63CCF /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; - rootObject = E7F55F5727F2E26100A63CCF /* Project object */; + rootObject = E7F55F8327F4271800A63CCF /* Project object */; } diff --git a/app.GameProjectTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/app.GameProjectTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 3e701cd..c56743c 100644 --- a/app.GameProjectTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/app.GameProjectTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:/Users/alan/Projects/GameProjectTwo/app.GameProjectTest.xcodeproj"> diff --git a/app.GameProjectTest.xcodeproj/project.xcworkspace/xcuserdata/alan.xcuserdatad/UserInterfaceState.xcuserstate b/app.GameProjectTest.xcodeproj/project.xcworkspace/xcuserdata/alan.xcuserdatad/UserInterfaceState.xcuserstate index 35a1ff4..fba0437 100644 Binary files a/app.GameProjectTest.xcodeproj/project.xcworkspace/xcuserdata/alan.xcuserdatad/UserInterfaceState.xcuserstate and b/app.GameProjectTest.xcodeproj/project.xcworkspace/xcuserdata/alan.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index 28be669..8d9ce7a 100644 --- a/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -1,23 +1,23 @@ + startingLineNumber = "8" + endingLineNumber = "8" + landmarkName = "unknown" + landmarkType = "0"> diff --git a/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcschemes/xcschememanagement.plist b/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcschemes/xcschememanagement.plist index 2399452..3eefc80 100644 --- a/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcschemes/xcschememanagement.plist @@ -4,7 +4,7 @@ SchemeUserState - GameProjectTest.xcscheme_^#shared#^_ + GameProjectTwo.xcscheme_^#shared#^_ orderHint 0