fsaar/TicTacToe

View on GitHub
TicTacToe/TicTacToe/Base.lproj/Main.storyboard

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/>
        <capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
        <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <scenes>
        <!--Board Controller-->
        <scene sceneID="tne-QT-ifu">
            <objects>
                <viewController storyboardIdentifier="TTTBoardController" id="BYZ-38-t0r" customClass="TTTBoardController" customModule="TicTacToe" customModuleProvider="target" sceneMemberID="viewController">
                    <layoutGuides>
                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
                    </layoutGuides>
                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <subviews>
                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="H9t-Ui-g5B" userLabel="titleLabelView">
                                <rect key="frame" x="0.0" y="20" width="375" height="142"/>
                                <subviews>
                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Tic Tac Toe" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="F3r-Tf-i62" userLabel="titleLabel">
                                        <rect key="frame" x="128" y="56" width="119.5" height="30"/>
                                        <fontDescription key="fontDescription" type="system" pointSize="25"/>
                                        <color key="textColor" red="1" green="0.5" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                        <nil key="highlightedColor"/>
                                    </label>
                                </subviews>
                                <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
                                <constraints>
                                    <constraint firstItem="F3r-Tf-i62" firstAttribute="centerY" secondItem="H9t-Ui-g5B" secondAttribute="centerY" id="IGi-la-nd7"/>
                                    <constraint firstItem="F3r-Tf-i62" firstAttribute="centerX" secondItem="H9t-Ui-g5B" secondAttribute="centerX" id="zLm-xy-T5K"/>
                                </constraints>
                            </view>
                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PP2-Bz-0Rj" userLabel="board" customClass="TTTBoard" customModule="TicTacToe" customModuleProvider="target">
                                <rect key="frame" x="16" y="162" width="343" height="343"/>
                                <subviews>
                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xdr-j2-lGa" userLabel="Cell0,0" customClass="TTTCell" customModule="TicTacToe" customModuleProvider="target">
                                        <rect key="frame" x="0.0" y="0.0" width="114.5" height="114.5"/>
                                    </imageView>
                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="hiF-TZ-zlR" userLabel="Cell1,0" customClass="TTTCell" customModule="TicTacToe" customModuleProvider="target">
                                        <rect key="frame" x="114.5" y="0.0" width="114" height="114.5"/>
                                    </imageView>
                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="5db-Y6-tv3" userLabel="Cell2,0" customClass="TTTCell" customModule="TicTacToe" customModuleProvider="target">
                                        <rect key="frame" x="228.5" y="0.0" width="114.5" height="114.5"/>
                                    </imageView>
                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="5ve-Oi-MaN" userLabel="Cell0,0" customClass="TTTCell" customModule="TicTacToe" customModuleProvider="target">
                                        <rect key="frame" x="0.0" y="114.5" width="114.5" height="114"/>
                                    </imageView>
                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="KmL-ft-81S" userLabel="Cell1,0" customClass="TTTCell" customModule="TicTacToe" customModuleProvider="target">
                                        <rect key="frame" x="114.5" y="114.5" width="114" height="114"/>
                                    </imageView>
                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="y0J-6w-ZFj" userLabel="Cell2,0" customClass="TTTCell" customModule="TicTacToe" customModuleProvider="target">
                                        <rect key="frame" x="228.5" y="114.5" width="114.5" height="114"/>
                                    </imageView>
                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="IBz-a9-uV7" userLabel="Cell1,0" customClass="TTTCell" customModule="TicTacToe" customModuleProvider="target">
                                        <rect key="frame" x="114.5" y="228.5" width="114" height="114.5"/>
                                    </imageView>
                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="2nz-1M-FNj" userLabel="Cell2,0" customClass="TTTCell" customModule="TicTacToe" customModuleProvider="target">
                                        <rect key="frame" x="228.5" y="228.5" width="114.5" height="114.5"/>
                                    </imageView>
                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="acf-hP-oZV" userLabel="Cell0,0" customClass="TTTCell" customModule="TicTacToe" customModuleProvider="target">
                                        <rect key="frame" x="0.0" y="228.5" width="114.5" height="114.5"/>
                                    </imageView>
                                </subviews>
                                <color key="backgroundColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                <constraints>
                                    <constraint firstItem="y0J-6w-ZFj" firstAttribute="top" secondItem="5db-Y6-tv3" secondAttribute="bottom" id="1YZ-yd-Dvi"/>
                                    <constraint firstItem="5db-Y6-tv3" firstAttribute="leading" secondItem="hiF-TZ-zlR" secondAttribute="trailing" id="21y-Ph-Jgt"/>
                                    <constraint firstItem="2nz-1M-FNj" firstAttribute="top" secondItem="y0J-6w-ZFj" secondAttribute="bottom" id="2ix-bR-x3N"/>
                                    <constraint firstAttribute="trailing" secondItem="y0J-6w-ZFj" secondAttribute="trailing" id="3Ug-2u-Ze0"/>
                                    <constraint firstAttribute="trailing" secondItem="5db-Y6-tv3" secondAttribute="trailing" id="8ul-Me-z0f"/>
                                    <constraint firstItem="5ve-Oi-MaN" firstAttribute="leading" secondItem="PP2-Bz-0Rj" secondAttribute="leading" id="93d-SS-Y2M"/>
                                    <constraint firstItem="acf-hP-oZV" firstAttribute="leading" secondItem="PP2-Bz-0Rj" secondAttribute="leading" id="A7f-fI-hlS"/>
                                    <constraint firstItem="hiF-TZ-zlR" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="AkH-ci-Uan"/>
                                    <constraint firstItem="IBz-a9-uV7" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="Akg-mH-Jhu"/>
                                    <constraint firstItem="KmL-ft-81S" firstAttribute="leading" secondItem="5ve-Oi-MaN" secondAttribute="trailing" id="DxE-Rd-pRY"/>
                                    <constraint firstAttribute="bottom" secondItem="acf-hP-oZV" secondAttribute="bottom" id="FJ8-b9-jd1"/>
                                    <constraint firstItem="IBz-a9-uV7" firstAttribute="leading" secondItem="acf-hP-oZV" secondAttribute="trailing" id="HK4-fa-g6k"/>
                                    <constraint firstItem="y0J-6w-ZFj" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="HUr-95-LFp"/>
                                    <constraint firstItem="5ve-Oi-MaN" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="ITI-bS-jX7"/>
                                    <constraint firstItem="5db-Y6-tv3" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="Kju-Zv-LDg"/>
                                    <constraint firstItem="KmL-ft-81S" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="LFs-8q-gdc"/>
                                    <constraint firstItem="5db-Y6-tv3" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="LI7-We-vDE"/>
                                    <constraint firstItem="5ve-Oi-MaN" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="OFO-W9-6W1"/>
                                    <constraint firstItem="KmL-ft-81S" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="OZ7-kN-XbK"/>
                                    <constraint firstItem="IBz-a9-uV7" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="Ovb-YA-BtC"/>
                                    <constraint firstItem="y0J-6w-ZFj" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="PUM-Dr-ide"/>
                                    <constraint firstItem="y0J-6w-ZFj" firstAttribute="width" secondItem="5ve-Oi-MaN" secondAttribute="width" id="Pff-TN-yMO"/>
                                    <constraint firstItem="5ve-Oi-MaN" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="RzB-XK-99m"/>
                                    <constraint firstItem="y0J-6w-ZFj" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="SyA-CP-ZYh"/>
                                    <constraint firstItem="2nz-1M-FNj" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="UOn-aF-o10"/>
                                    <constraint firstItem="hiF-TZ-zlR" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="Uzl-Zw-bB8"/>
                                    <constraint firstItem="KmL-ft-81S" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="VCL-1z-e5M"/>
                                    <constraint firstItem="hiF-TZ-zlR" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="WJb-rT-VXr"/>
                                    <constraint firstItem="hiF-TZ-zlR" firstAttribute="leading" secondItem="xdr-j2-lGa" secondAttribute="trailing" id="Wha-nC-0aj"/>
                                    <constraint firstItem="5db-Y6-tv3" firstAttribute="top" secondItem="PP2-Bz-0Rj" secondAttribute="top" id="XzC-bG-1jF"/>
                                    <constraint firstItem="acf-hP-oZV" firstAttribute="top" secondItem="5ve-Oi-MaN" secondAttribute="bottom" id="YRz-AP-LcG"/>
                                    <constraint firstItem="acf-hP-oZV" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="Zqv-3y-2tW"/>
                                    <constraint firstItem="5db-Y6-tv3" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="Zvy-SJ-GNQ"/>
                                    <constraint firstItem="xdr-j2-lGa" firstAttribute="leading" secondItem="PP2-Bz-0Rj" secondAttribute="leading" id="a82-GY-aDm"/>
                                    <constraint firstAttribute="bottom" secondItem="IBz-a9-uV7" secondAttribute="bottom" id="fjM-LZ-Hhu"/>
                                    <constraint firstItem="IBz-a9-uV7" firstAttribute="top" secondItem="KmL-ft-81S" secondAttribute="bottom" id="fs4-Cp-lD5"/>
                                    <constraint firstItem="2nz-1M-FNj" firstAttribute="leading" secondItem="IBz-a9-uV7" secondAttribute="trailing" id="gXW-Ni-Gbm"/>
                                    <constraint firstItem="5db-Y6-tv3" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="gxf-K4-TIQ"/>
                                    <constraint firstAttribute="width" secondItem="PP2-Bz-0Rj" secondAttribute="height" id="h4V-AV-bVB"/>
                                    <constraint firstAttribute="trailing" secondItem="2nz-1M-FNj" secondAttribute="trailing" id="hve-Vv-zck"/>
                                    <constraint firstItem="2nz-1M-FNj" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="jTc-d1-KSN"/>
                                    <constraint firstItem="y0J-6w-ZFj" firstAttribute="leading" secondItem="KmL-ft-81S" secondAttribute="trailing" id="jit-OI-9H8"/>
                                    <constraint firstItem="KmL-ft-81S" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="kCG-ht-jcT"/>
                                    <constraint firstItem="2nz-1M-FNj" firstAttribute="width" secondItem="acf-hP-oZV" secondAttribute="width" id="kLz-99-sbE"/>
                                    <constraint firstItem="5ve-Oi-MaN" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="krv-O2-q5A"/>
                                    <constraint firstItem="KmL-ft-81S" firstAttribute="width" secondItem="5ve-Oi-MaN" secondAttribute="width" id="m0I-0g-XOD"/>
                                    <constraint firstItem="hiF-TZ-zlR" firstAttribute="height" secondItem="xdr-j2-lGa" secondAttribute="height" id="oL3-R8-OsK"/>
                                    <constraint firstItem="hiF-TZ-zlR" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="oyW-fR-aPi"/>
                                    <constraint firstItem="5ve-Oi-MaN" firstAttribute="top" secondItem="xdr-j2-lGa" secondAttribute="bottom" id="pC2-kx-T85"/>
                                    <constraint firstItem="acf-hP-oZV" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="pmb-gu-40F"/>
                                    <constraint firstAttribute="bottom" secondItem="2nz-1M-FNj" secondAttribute="bottom" id="qSO-ns-ls7"/>
                                    <constraint firstItem="IBz-a9-uV7" firstAttribute="width" secondItem="acf-hP-oZV" secondAttribute="width" id="rFh-2e-EFR"/>
                                    <constraint firstItem="hiF-TZ-zlR" firstAttribute="top" secondItem="PP2-Bz-0Rj" secondAttribute="top" id="uug-c0-nal"/>
                                    <constraint firstItem="5db-Y6-tv3" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="w4T-FH-76w"/>
                                    <constraint firstItem="y0J-6w-ZFj" firstAttribute="width" secondItem="xdr-j2-lGa" secondAttribute="width" id="xZh-tZ-79D"/>
                                    <constraint firstItem="KmL-ft-81S" firstAttribute="top" secondItem="hiF-TZ-zlR" secondAttribute="bottom" id="yQE-bm-ba5"/>
                                    <constraint firstItem="xdr-j2-lGa" firstAttribute="top" secondItem="PP2-Bz-0Rj" secondAttribute="top" id="ztA-U0-f46"/>
                                </constraints>
                                <connections>
                                    <outletCollection property="cells" destination="xdr-j2-lGa" collectionClass="NSMutableArray" id="Hur-HN-m9r"/>
                                    <outletCollection property="cells" destination="hiF-TZ-zlR" collectionClass="NSMutableArray" id="oCK-hA-wHh"/>
                                    <outletCollection property="cells" destination="5db-Y6-tv3" collectionClass="NSMutableArray" id="6Is-KP-Sgm"/>
                                    <outletCollection property="cells" destination="5ve-Oi-MaN" collectionClass="NSMutableArray" id="zy5-Lg-dEd"/>
                                    <outletCollection property="cells" destination="KmL-ft-81S" collectionClass="NSMutableArray" id="Bip-tl-RNP"/>
                                    <outletCollection property="cells" destination="y0J-6w-ZFj" collectionClass="NSMutableArray" id="DOo-nv-a17"/>
                                    <outletCollection property="cells" destination="acf-hP-oZV" collectionClass="NSMutableArray" id="Cfo-ko-UB8"/>
                                    <outletCollection property="cells" destination="IBz-a9-uV7" collectionClass="NSMutableArray" id="0ja-zG-EJz"/>
                                    <outletCollection property="cells" destination="2nz-1M-FNj" collectionClass="NSMutableArray" id="dq3-cS-XYI"/>
                                </connections>
                            </view>
                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Lcf-Pq-uWj" userLabel="settings">
                                <rect key="frame" x="36" y="520" width="303" height="107"/>
                                <subviews>
                                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Oxk-p4-WjO">
                                        <rect key="frame" x="134.5" y="20" width="34" height="30"/>
                                        <state key="normal" title="Start">
                                            <color key="titleColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                        </state>
                                        <connections>
                                            <action selector="restart" destination="BYZ-38-t0r" eventType="touchUpInside" id="mm5-fb-Xo7"/>
                                        </connections>
                                    </button>
                                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7xW-3O-dKt">
                                        <rect key="frame" x="122.5" y="67" width="58" height="30"/>
                                        <state key="normal" title="AI starts">
                                            <color key="titleColor" red="0.0" green="1" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                        </state>
                                        <connections>
                                            <action selector="machineStart" destination="BYZ-38-t0r" eventType="touchUpInside" id="Qk3-tg-n8H"/>
                                        </connections>
                                    </button>
                                </subviews>
                                <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
                                <constraints>
                                    <constraint firstItem="7xW-3O-dKt" firstAttribute="centerX" secondItem="Lcf-Pq-uWj" secondAttribute="centerX" id="92U-HL-ND3"/>
                                    <constraint firstItem="Oxk-p4-WjO" firstAttribute="top" secondItem="Lcf-Pq-uWj" secondAttribute="top" priority="250" constant="20" id="Id8-DS-qy2"/>
                                    <constraint firstItem="Oxk-p4-WjO" firstAttribute="centerX" secondItem="Lcf-Pq-uWj" secondAttribute="centerX" id="S8Y-oC-9tH"/>
                                    <constraint firstItem="7xW-3O-dKt" firstAttribute="top" secondItem="Oxk-p4-WjO" secondAttribute="bottom" priority="750" constant="17" id="ZhD-pX-NbG"/>
                                    <constraint firstAttribute="bottom" secondItem="7xW-3O-dKt" secondAttribute="bottom" constant="10" id="cs8-fj-uiG"/>
                                </constraints>
                            </view>
                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XE2-CE-X5x" userLabel="showHighScore">
                                <rect key="frame" x="16" y="617" width="114" height="30"/>
                                <state key="normal" title="Show HighScore"/>
                                <connections>
                                    <segue destination="1ph-2t-9qU" kind="modal" id="FR8-Mb-zR0"/>
                                </connections>
                            </button>
                        </subviews>
                        <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <constraints>
                            <constraint firstItem="PP2-Bz-0Rj" firstAttribute="top" secondItem="H9t-Ui-g5B" secondAttribute="bottom" id="6cd-U3-oiG"/>
                            <constraint firstItem="Lcf-Pq-uWj" firstAttribute="top" secondItem="PP2-Bz-0Rj" secondAttribute="bottom" constant="15" id="Jyk-lF-KSg"/>
                            <constraint firstItem="PP2-Bz-0Rj" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="NVq-5K-bjt"/>
                            <constraint firstItem="wfy-db-euE" firstAttribute="top" relation="greaterThanOrEqual" secondItem="Lcf-Pq-uWj" secondAttribute="bottom" constant="10" id="RV5-dr-eSk"/>
                            <constraint firstAttribute="leadingMargin" secondItem="PP2-Bz-0Rj" secondAttribute="leading" id="RkX-jI-SXa"/>
                            <constraint firstItem="PP2-Bz-0Rj" firstAttribute="centerY" secondItem="8bC-Xf-vdC" secondAttribute="centerY" id="Sm8-sv-9Ed"/>
                            <constraint firstAttribute="trailing" secondItem="H9t-Ui-g5B" secondAttribute="trailing" id="WHu-nm-lQg"/>
                            <constraint firstItem="H9t-Ui-g5B" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" id="XDA-Ae-7Wu"/>
                            <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="XE2-CE-X5x" secondAttribute="trailing" constant="20" symbolic="YES" id="YwA-vy-Yg8"/>
                            <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="XE2-CE-X5x" secondAttribute="bottom" constant="20" id="Z3d-Qq-8PK"/>
                            <constraint firstAttribute="trailingMargin" secondItem="Lcf-Pq-uWj" secondAttribute="trailing" constant="20" id="ggO-jz-O5B"/>
                            <constraint firstItem="XE2-CE-X5x" firstAttribute="leading" secondItem="acf-hP-oZV" secondAttribute="leading" id="ho7-Tw-EmG"/>
                            <constraint firstAttribute="trailingMargin" secondItem="PP2-Bz-0Rj" secondAttribute="trailing" id="lyz-UD-dsh"/>
                            <constraint firstItem="H9t-Ui-g5B" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="sX8-9F-ph6"/>
                            <constraint firstItem="Lcf-Pq-uWj" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" constant="20" id="wjo-Tq-Ucw"/>
                        </constraints>
                    </view>
                    <connections>
                        <outlet property="board" destination="PP2-Bz-0Rj" id="dix-yH-OaY"/>
                        <outlet property="machineStartsButton" destination="7xW-3O-dKt" id="fic-rM-DMr"/>
                        <outlet property="showHighScoreButton" destination="XE2-CE-X5x" id="JDS-Ml-Oez"/>
                        <outlet property="startButton" destination="Oxk-p4-WjO" id="R69-B2-0tq"/>
                    </connections>
                </viewController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="148" y="406"/>
        </scene>
        <!--Navigation Controller-->
        <scene sceneID="kda-B7-aQ3">
            <objects>
                <navigationController id="1ph-2t-9qU" sceneMemberID="viewController">
                    <navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" barStyle="black" id="2TF-Yw-DU5">
                        <rect key="frame" x="0.0" y="20" width="375" height="44"/>
                        <autoresizingMask key="autoresizingMask"/>
                    </navigationBar>
                    <connections>
                        <segue destination="k1l-6x-yHS" kind="relationship" relationship="rootViewController" id="wQg-Gz-Qy2"/>
                    </connections>
                </navigationController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="l5y-jx-WYk" userLabel="First Responder" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="731" y="406"/>
        </scene>
        <!--Highscore-->
        <scene sceneID="WWX-I9-rEk">
            <objects>
                <tableViewController storyboardIdentifier="TTTHighscoreTableViewController" id="k1l-6x-yHS" customClass="TTTHighscoreTableViewController" customModule="TicTacToe" customModuleProvider="target" sceneMemberID="viewController">
                    <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" allowsSelection="NO" rowHeight="50" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="xkg-7u-gta">
                        <rect key="frame" x="0.0" y="0.0" width="375" height="603"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
                        <prototypes>
                            <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="TTTHighscoreCell" id="zg0-Bk-7nf" customClass="TTTHighscoreCell" customModule="TicTacToe" customModuleProvider="target">
                                <rect key="frame" x="0.0" y="28" width="375" height="50"/>
                                <autoresizingMask key="autoresizingMask"/>
                                <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="zg0-Bk-7nf" id="t72-fl-rXL">
                                    <rect key="frame" x="0.0" y="0.0" width="375" height="50"/>
                                    <autoresizingMask key="autoresizingMask"/>
                                    <subviews>
                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1." textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3Ix-ad-wO5" userLabel="position">
                                            <rect key="frame" x="8" y="14" width="30" height="21"/>
                                            <constraints>
                                                <constraint firstAttribute="width" constant="30" id="eJJ-5H-U8P"/>
                                            </constraints>
                                            <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                            <nil key="textColor"/>
                                            <nil key="highlightedColor"/>
                                        </label>
                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Red" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ceZ-D9-yzo" userLabel="name">
                                            <rect key="frame" x="43" y="14" width="178" height="21"/>
                                            <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                            <nil key="textColor"/>
                                            <nil key="highlightedColor"/>
                                        </label>
                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="10" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z7v-ca-MlP" userLabel="moves">
                                            <rect key="frame" x="226" y="14.5" width="30" height="21"/>
                                            <constraints>
                                                <constraint firstAttribute="width" constant="30" id="oS0-4Y-KFj"/>
                                            </constraints>
                                            <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                            <nil key="textColor"/>
                                            <nil key="highlightedColor"/>
                                        </label>
                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="100 secs" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uBA-wF-8To" userLabel="time">
                                            <rect key="frame" x="261" y="14.5" width="100" height="21"/>
                                            <constraints>
                                                <constraint firstAttribute="width" constant="100" id="n7F-DG-Ur0"/>
                                            </constraints>
                                            <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                            <nil key="textColor"/>
                                            <nil key="highlightedColor"/>
                                        </label>
                                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fkp-cN-KLg" userLabel="separator">
                                            <rect key="frame" x="0.0" y="48.5" width="375" height="1"/>
                                            <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
                                            <constraints>
                                                <constraint firstAttribute="height" constant="1" id="arM-EC-FLO"/>
                                            </constraints>
                                        </view>
                                    </subviews>
                                    <constraints>
                                        <constraint firstAttribute="bottom" secondItem="fkp-cN-KLg" secondAttribute="bottom" id="0x7-9p-b3q"/>
                                        <constraint firstItem="ceZ-D9-yzo" firstAttribute="centerY" secondItem="3Ix-ad-wO5" secondAttribute="centerY" id="2CR-kX-TQV"/>
                                        <constraint firstItem="ceZ-D9-yzo" firstAttribute="leading" secondItem="3Ix-ad-wO5" secondAttribute="trailing" constant="5" id="4dR-Yz-SN8"/>
                                        <constraint firstAttribute="trailing" secondItem="uBA-wF-8To" secondAttribute="trailing" constant="14" id="8O6-YU-tXI"/>
                                        <constraint firstItem="uBA-wF-8To" firstAttribute="leading" secondItem="Z7v-ca-MlP" secondAttribute="trailing" constant="5" id="Bb7-Uc-LMc"/>
                                        <constraint firstItem="Z7v-ca-MlP" firstAttribute="leading" secondItem="ceZ-D9-yzo" secondAttribute="trailing" constant="5" id="c2C-U4-XEX"/>
                                        <constraint firstAttribute="trailing" secondItem="fkp-cN-KLg" secondAttribute="trailing" id="cps-sb-sZH"/>
                                        <constraint firstItem="Z7v-ca-MlP" firstAttribute="centerY" secondItem="t72-fl-rXL" secondAttribute="centerY" id="d76-Ti-vzj"/>
                                        <constraint firstItem="3Ix-ad-wO5" firstAttribute="centerY" secondItem="t72-fl-rXL" secondAttribute="centerY" id="gLF-5f-1bH"/>
                                        <constraint firstItem="uBA-wF-8To" firstAttribute="centerY" secondItem="t72-fl-rXL" secondAttribute="centerY" id="nPX-hd-pb2"/>
                                        <constraint firstItem="fkp-cN-KLg" firstAttribute="leading" secondItem="t72-fl-rXL" secondAttribute="leading" id="oOo-iq-U9E"/>
                                        <constraint firstItem="3Ix-ad-wO5" firstAttribute="leading" secondItem="t72-fl-rXL" secondAttribute="leading" constant="8" id="uSA-9p-tVF"/>
                                    </constraints>
                                </tableViewCellContentView>
                                <connections>
                                    <outlet property="moves" destination="Z7v-ca-MlP" id="IEp-R2-YfR"/>
                                    <outlet property="name" destination="ceZ-D9-yzo" id="GMu-eZ-6jo"/>
                                    <outlet property="position" destination="3Ix-ad-wO5" id="vgu-cj-5pd"/>
                                    <outlet property="time" destination="uBA-wF-8To" id="ZuQ-WH-Ugy"/>
                                </connections>
                            </tableViewCell>
                        </prototypes>
                        <connections>
                            <outlet property="dataSource" destination="k1l-6x-yHS" id="PW1-f0-rul"/>
                            <outlet property="delegate" destination="k1l-6x-yHS" id="nDd-7x-sMa"/>
                        </connections>
                    </tableView>
                    <navigationItem key="navigationItem" title="Highscore" largeTitleDisplayMode="always" id="AMr-mu-j7F">
                        <barButtonItem key="leftBarButtonItem" style="bordered" id="7YG-UA-XlB">
                            <button key="customView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="Sez-uX-1Cy">
                                <rect key="frame" x="16" y="7" width="39" height="30"/>
                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                <state key="normal" title="Close">
                                    <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                </state>
                                <connections>
                                    <action selector="closeButtonHandler:" destination="k1l-6x-yHS" eventType="touchUpInside" id="JZZ-fI-J77"/>
                                </connections>
                            </button>
                            <color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                        </barButtonItem>
                    </navigationItem>
                    <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" barStyle="black" translucent="NO" prompted="NO"/>
                </tableViewController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="TgI-vL-Ida" userLabel="First Responder" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="1254" y="406"/>
        </scene>
    </scenes>
</document>