Skip to content
Permalink
Browse files
new project
  • Loading branch information
thomasv5 committed Nov 18, 2020
1 parent 49d9d64 commit d622c13bc0e900076ba979474683641be2d7edb1
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 3 deletions.
@@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
7C3E4CB22565620500F78FDC /* resultsScreenViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C3E4CB12565620500F78FDC /* resultsScreenViewController.swift */; };
7C4E808B255DA97A005A4F5B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C4E808A255DA97A005A4F5B /* AppDelegate.swift */; };
7C4E808D255DA97A005A4F5B /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C4E808C255DA97A005A4F5B /* SceneDelegate.swift */; };
7C4E808F255DA97A005A4F5B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C4E808E255DA97A005A4F5B /* ViewController.swift */; };
@@ -16,6 +17,7 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
7C3E4CB12565620500F78FDC /* resultsScreenViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = resultsScreenViewController.swift; sourceTree = "<group>"; };
7C4E8087255DA97A005A4F5B /* WarCardGame.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WarCardGame.app; sourceTree = BUILT_PRODUCTS_DIR; };
7C4E808A255DA97A005A4F5B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
7C4E808C255DA97A005A4F5B /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
@@ -59,6 +61,7 @@
7C4E808A255DA97A005A4F5B /* AppDelegate.swift */,
7C4E808C255DA97A005A4F5B /* SceneDelegate.swift */,
7C4E808E255DA97A005A4F5B /* ViewController.swift */,
7C3E4CB12565620500F78FDC /* resultsScreenViewController.swift */,
7C4E8090255DA97A005A4F5B /* Main.storyboard */,
7C4E8093255DA97B005A4F5B /* Assets.xcassets */,
7C4E8095255DA97B005A4F5B /* LaunchScreen.storyboard */,
@@ -141,6 +144,7 @@
7C4E808F255DA97A005A4F5B /* ViewController.swift in Sources */,
7C4E808B255DA97A005A4F5B /* AppDelegate.swift in Sources */,
7C4E808D255DA97A005A4F5B /* SceneDelegate.swift in Sources */,
7C3E4CB22565620500F78FDC /* resultsScreenViewController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1,12 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="LS4-81-krX">
<device id="retina5_9" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Results Screen View Controller-->
<scene sceneID="FMe-52-9gy">
<objects>
<viewController storyboardIdentifier="resultsVC" id="LS4-81-krX" customClass="resultsScreenViewController" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="zIT-3T-NdH">
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1Q5-UI-sI1">
<rect key="frame" x="136" y="391" width="103" height="30"/>
<state key="normal" title="selectWorkout "/>
<connections>
<action selector="sdfsdf:" destination="LS4-81-krX" eventType="touchUpInside" id="wQ2-fi-NWz"/>
<action selector="selectionButton:" destination="LS4-81-krX" eventType="touchUpInside" id="AeW-QC-Io1"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="1Q5-UI-sI1" firstAttribute="centerX" secondItem="zIT-3T-NdH" secondAttribute="centerX" id="5Vm-oc-xFz"/>
<constraint firstItem="1Q5-UI-sI1" firstAttribute="centerY" secondItem="zIT-3T-NdH" secondAttribute="centerY" id="KQw-cY-Pxb"/>
</constraints>
<viewLayoutGuide key="safeArea" id="x5m-OY-0Ff"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="whf-na-H0b" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-737" y="137"/>
</scene>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
@@ -70,8 +70,6 @@ class ViewController: UIViewController {
}




}


@@ -0,0 +1,25 @@
//
// resultsScreenViewController.swift
// WarCardGame
//
// Created by Varun Thomas on 18/11/2020.
// Copyright © 2020 Varun Thomas. All rights reserved.
//
import UIKit

class ResultsScreenViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()
}


@IBAction func selectionButton(_ sender: Any) {
// connect to the view controller
let vc = storyboard?.instantiateViewController(identifier: "ViewController.swift") as!
}



}

0 comments on commit d622c13

Please sign in to comment.