104 lines
8.4 KiB
XML
104 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8164.2" systemVersion="14E46" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="W0F-0W-RUo">
|
|
<dependencies>
|
|
<deployment identifier="iOS"/>
|
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8135.1"/>
|
|
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
|
</dependencies>
|
|
<scenes>
|
|
<!--View Controller-->
|
|
<scene sceneID="yo4-EK-gOh">
|
|
<objects>
|
|
<viewController id="W0F-0W-RUo" sceneMemberID="viewController">
|
|
<layoutGuides>
|
|
<viewControllerLayoutGuide type="top" id="UdN-Zv-OPM"/>
|
|
<viewControllerLayoutGuide type="bottom" id="9tK-vD-qBK"/>
|
|
</layoutGuides>
|
|
<view key="view" contentMode="scaleToFill" id="2ZE-Ui-rcr">
|
|
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
<subviews>
|
|
<containerView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="v8N-9R-fP2">
|
|
<rect key="frame" x="100" y="100" width="400" height="420"/>
|
|
<connections>
|
|
<segue destination="j7q-S3-Xi7" kind="embed" id="UgB-q1-YEm"/>
|
|
</connections>
|
|
</containerView>
|
|
</subviews>
|
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
|
<constraints>
|
|
<constraint firstItem="v8N-9R-fP2" firstAttribute="leading" secondItem="2ZE-Ui-rcr" secondAttribute="leadingMargin" constant="80" id="KiE-1x-3Ut"/>
|
|
<constraint firstAttribute="trailingMargin" secondItem="v8N-9R-fP2" secondAttribute="trailing" constant="80" id="SlX-QB-Sgc"/>
|
|
<constraint firstItem="v8N-9R-fP2" firstAttribute="top" secondItem="UdN-Zv-OPM" secondAttribute="bottom" constant="80" id="g6x-M2-oDZ"/>
|
|
<constraint firstItem="9tK-vD-qBK" firstAttribute="top" secondItem="v8N-9R-fP2" secondAttribute="bottom" constant="80" id="vkC-dm-0m3"/>
|
|
</constraints>
|
|
</view>
|
|
</viewController>
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="8tE-Vd-PHo" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
</objects>
|
|
<point key="canvasLocation" x="211" y="114"/>
|
|
</scene>
|
|
<!--Plugboard-->
|
|
<scene sceneID="75j-VI-uYS">
|
|
<objects>
|
|
<collectionViewController title="Plugboard" id="j7q-S3-Xi7" customClass="PlugboardViewController" customModule="Plugboard" customModuleProvider="target" sceneMemberID="viewController">
|
|
<collectionView key="view" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" id="zWh-fk-F93">
|
|
<rect key="frame" x="0.0" y="0.0" width="400" height="420"/>
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
<color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
|
<collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="is8-C9-VQu">
|
|
<size key="itemSize" width="50" height="50"/>
|
|
<size key="headerReferenceSize" width="0.0" height="0.0"/>
|
|
<size key="footerReferenceSize" width="0.0" height="0.0"/>
|
|
<inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
|
|
</collectionViewFlowLayout>
|
|
<cells>
|
|
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="PlugCell" id="33f-rS-wUG" customClass="PlugCollectionViewCell" customModule="Plugboard" customModuleProvider="target">
|
|
<rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
|
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
|
|
<rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="A" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4W2-Tp-oUd">
|
|
<rect key="frame" x="19" y="14" width="12" height="21"/>
|
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
|
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
|
<nil key="highlightedColor"/>
|
|
</label>
|
|
</subviews>
|
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
|
</view>
|
|
<constraints>
|
|
<constraint firstAttribute="trailingMargin" relation="greaterThanOrEqual" secondItem="4W2-Tp-oUd" secondAttribute="trailing" id="Emw-8E-Pse"/>
|
|
<constraint firstItem="4W2-Tp-oUd" firstAttribute="centerX" secondItem="33f-rS-wUG" secondAttribute="centerX" id="ifg-Y4-nBL"/>
|
|
<constraint firstItem="4W2-Tp-oUd" firstAttribute="centerY" secondItem="33f-rS-wUG" secondAttribute="centerY" id="uJr-1D-Y5e"/>
|
|
<constraint firstItem="4W2-Tp-oUd" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="33f-rS-wUG" secondAttribute="leadingMargin" id="ycD-kf-bvH"/>
|
|
</constraints>
|
|
<connections>
|
|
<outlet property="label" destination="4W2-Tp-oUd" id="I75-Rc-XC7"/>
|
|
</connections>
|
|
</collectionViewCell>
|
|
</cells>
|
|
<connections>
|
|
<outlet property="dataSource" destination="j7q-S3-Xi7" id="dcg-Ms-6nw"/>
|
|
<outlet property="delegate" destination="j7q-S3-Xi7" id="fg6-NK-6Cw"/>
|
|
<outletCollection property="gestureRecognizers" destination="l6E-bd-IL3" appends="YES" id="0dk-vx-rog"/>
|
|
</connections>
|
|
</collectionView>
|
|
<connections>
|
|
<outlet property="collectionView" destination="zWh-fk-F93" id="xKW-Ez-UCG"/>
|
|
<outlet property="panGestureRecognizer" destination="l6E-bd-IL3" id="6Tz-eZ-wZH"/>
|
|
</connections>
|
|
</collectionViewController>
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="MW1-LN-9Lf" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
<panGestureRecognizer minimumNumberOfTouches="1" id="l6E-bd-IL3">
|
|
<connections>
|
|
<action selector="connectPlugsPanGesture:" destination="j7q-S3-Xi7" id="0QL-8h-Yoq"/>
|
|
</connections>
|
|
</panGestureRecognizer>
|
|
</objects>
|
|
<point key="canvasLocation" x="965" y="-444"/>
|
|
</scene>
|
|
</scenes>
|
|
</document>
|