Caps-iOS/CapCollector/Base.lproj/Main.storyboard

448 lines
46 KiB
Plaintext
Raw Normal View History

2018-05-05 08:08:37 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2018-08-16 11:18:27 +02:00
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14269.12" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="VSb-c5-JF6">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
2018-05-05 08:08:37 +02:00
<dependencies>
2018-08-16 11:18:27 +02:00
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14252.5"/>
2018-05-05 08:08:37 +02:00
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
2018-08-16 11:18:27 +02:00
<!--Caps-->
<scene sceneID="FO1-cz-6Q6">
2018-05-05 08:08:37 +02:00
<objects>
2018-08-16 11:18:27 +02:00
<viewController storyboardIdentifier="ImageSelector" id="xXN-Zh-iCd" customClass="ImageSelector" customModule="CapCollector" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="7RW-nN-0XQ">
2018-05-05 08:08:37 +02:00
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2018-08-16 11:18:27 +02:00
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Vx1-tM-8mD" userLabel="Status Bar View">
<rect key="frame" x="0.0" y="0.0" width="375" height="20"/>
<color key="backgroundColor" red="0.14168914909999999" green="0.14168914909999999" blue="0.14168914909999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
<collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="KLt-lS-0bs">
<rect key="frame" x="0.0" y="20" width="375" height="647"/>
<color key="backgroundColor" red="0.14168914910710662" green="0.14168914910710662" blue="0.14168914910710662" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="0.0" id="m0z-hV-bp1">
<size key="itemSize" width="125" height="125"/>
<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="Image" id="a3h-Rh-cyS" customClass="ImageCell" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="125" height="125"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
<rect key="frame" x="0.0" y="0.0" width="125" height="125"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="dUp-gB-b4C" customClass="RoundedImageView" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="2" y="2" width="121" height="121"/>
</imageView>
</subviews>
</view>
<constraints>
<constraint firstItem="dUp-gB-b4C" firstAttribute="leading" secondItem="a3h-Rh-cyS" secondAttribute="leading" constant="2" id="Gc7-h0-pzJ"/>
<constraint firstAttribute="bottom" secondItem="dUp-gB-b4C" secondAttribute="bottom" constant="2" id="dKB-wM-BWw"/>
<constraint firstAttribute="trailing" secondItem="dUp-gB-b4C" secondAttribute="trailing" constant="2" id="eLS-W2-Owa"/>
<constraint firstItem="dUp-gB-b4C" firstAttribute="top" secondItem="a3h-Rh-cyS" secondAttribute="top" constant="2" id="wkf-il-wti"/>
</constraints>
<connections>
<outlet property="capView" destination="dUp-gB-b4C" id="RKW-nR-43M"/>
</connections>
</collectionViewCell>
</cells>
</collectionView>
<containerView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pHE-7r-I7l" userLabel="Search View">
<rect key="frame" x="-1" y="668" width="377" height="49"/>
<constraints>
<constraint firstAttribute="height" constant="49" id="75Y-Pa-gf4"/>
</constraints>
</containerView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uBv-Ka-a6u" customClass="RoundedButton" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="20" y="607" width="335" height="40"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="I11-YD-mhs"/>
</constraints>
<state key="normal" title="Cancel"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" red="0.83921568629999999" green="0.9379758883" blue="0.54901960780000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="didCancel" destination="xXN-Zh-iCd" eventType="touchUpInside" id="7bg-Y2-nV1"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="lmc-ZJ-cgu" firstAttribute="bottom" secondItem="uBv-Ka-a6u" secondAttribute="bottom" constant="20" id="0bT-Jh-qzm"/>
<constraint firstItem="lmc-ZJ-cgu" firstAttribute="top" secondItem="Vx1-tM-8mD" secondAttribute="top" constant="20" id="9Ai-nd-gYO"/>
<constraint firstItem="KLt-lS-0bs" firstAttribute="top" secondItem="Vx1-tM-8mD" secondAttribute="bottom" id="DdH-ID-K5R"/>
<constraint firstItem="lmc-ZJ-cgu" firstAttribute="bottom" secondItem="KLt-lS-0bs" secondAttribute="bottom" id="LgP-eI-hGc"/>
<constraint firstItem="lmc-ZJ-cgu" firstAttribute="trailing" secondItem="KLt-lS-0bs" secondAttribute="trailing" id="MFg-gH-TZJ"/>
<constraint firstItem="KLt-lS-0bs" firstAttribute="leading" secondItem="lmc-ZJ-cgu" secondAttribute="leading" id="MNg-7M-R1B"/>
<constraint firstItem="KLt-lS-0bs" firstAttribute="top" secondItem="lmc-ZJ-cgu" secondAttribute="top" id="MgU-8N-zWy"/>
<constraint firstItem="lmc-ZJ-cgu" firstAttribute="trailing" secondItem="Vx1-tM-8mD" secondAttribute="trailing" id="PqZ-Gb-7Le"/>
<constraint firstItem="uBv-Ka-a6u" firstAttribute="leading" secondItem="lmc-ZJ-cgu" secondAttribute="leading" constant="20" id="VLy-Qd-LzF"/>
<constraint firstItem="Vx1-tM-8mD" firstAttribute="leading" secondItem="lmc-ZJ-cgu" secondAttribute="leading" id="WgW-hG-WpI"/>
<constraint firstItem="pHE-7r-I7l" firstAttribute="centerX" secondItem="lmc-ZJ-cgu" secondAttribute="centerX" id="fdQ-KZ-Nj4"/>
<constraint firstItem="uBv-Ka-a6u" firstAttribute="centerX" secondItem="lmc-ZJ-cgu" secondAttribute="centerX" id="jcu-4d-ddV"/>
<constraint firstItem="lmc-ZJ-cgu" firstAttribute="bottom" secondItem="pHE-7r-I7l" secondAttribute="bottom" constant="-50" id="n33-vy-jhn"/>
<constraint firstItem="lmc-ZJ-cgu" firstAttribute="trailing" secondItem="pHE-7r-I7l" secondAttribute="trailing" constant="-1" id="sGP-rj-Nsr"/>
</constraints>
<viewLayoutGuide key="safeArea" id="lmc-ZJ-cgu"/>
2018-05-05 08:08:37 +02:00
</view>
2018-08-16 11:18:27 +02:00
<tabBarItem key="tabBarItem" systemItem="history" id="Cxk-kX-pY9">
<color key="badgeColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</tabBarItem>
<navigationItem key="navigationItem" title="Caps" id="Pt2-ad-tUu">
<barButtonItem key="backBarButtonItem" title="Back" id="e2a-wC-2Uv"/>
<barButtonItem key="leftBarButtonItem" systemItem="camera" id="qPt-0g-cjq"/>
<barButtonItem key="rightBarButtonItem" title="Clear" id="hmj-Lo-iYP"/>
</navigationItem>
<nil key="simulatedTopBarMetrics"/>
<nil key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="collection" destination="KLt-lS-0bs" id="Jfu-ZQ-v2b"/>
</connections>
2018-05-05 08:08:37 +02:00
</viewController>
2018-08-16 11:18:27 +02:00
<placeholder placeholderIdentifier="IBFirstResponder" id="xnW-hF-IOj" userLabel="First Responder" sceneMemberID="firstResponder"/>
2018-05-05 08:08:37 +02:00
</objects>
2018-08-16 11:18:27 +02:00
<point key="canvasLocation" x="1804" y="1558"/>
</scene>
<!--Camera Controller-->
<scene sceneID="5iQ-Nr-LFc">
<objects>
<viewController id="oDF-NZ-j9r" customClass="CameraController" customModule="CapCollector" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Y3e-A9-cGq">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="75a-Qa-tvd" userLabel="Embedding Camera View">
<rect key="frame" x="0.0" y="20" width="375" height="647"/>
<subviews>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JR1-Im-yOB" userLabel="PicturePreview" customClass="CameraView" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="-80" y="-33" width="535" height="713"/>
<constraints>
<constraint firstAttribute="width" secondItem="JR1-Im-yOB" secondAttribute="height" multiplier="3:4" id="LL6-Z4-ep1"/>
</constraints>
</view>
<view opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RWS-jY-sNX" customClass="CropView" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="-80" y="56" width="535" height="535"/>
<constraints>
<constraint firstAttribute="width" secondItem="RWS-jY-sNX" secondAttribute="height" multiplier="1:1" id="Buc-aU-mqr"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="relativeSize">
<real key="value" value="0.40000000000000002"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="lineColor">
<color key="value" red="0.47843137254901957" green="0.60784313725490191" blue="0.16078431372549018" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="lineWidth">
<real key="value" value="2"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<constraints>
<constraint firstItem="JR1-Im-yOB" firstAttribute="centerY" secondItem="75a-Qa-tvd" secondAttribute="centerY" id="I0g-m0-LPb"/>
<constraint firstItem="JR1-Im-yOB" firstAttribute="centerX" secondItem="75a-Qa-tvd" secondAttribute="centerX" id="PWv-L2-yWL"/>
<constraint firstItem="RWS-jY-sNX" firstAttribute="centerY" secondItem="JR1-Im-yOB" secondAttribute="centerY" id="gW5-a3-fBU"/>
<constraint firstItem="RWS-jY-sNX" firstAttribute="centerX" secondItem="JR1-Im-yOB" secondAttribute="centerX" id="sxd-Vu-qCf"/>
<constraint firstItem="JR1-Im-yOB" firstAttribute="leading" secondItem="75a-Qa-tvd" secondAttribute="leading" constant="-80" id="teJ-k1-aza"/>
<constraint firstItem="RWS-jY-sNX" firstAttribute="leading" secondItem="JR1-Im-yOB" secondAttribute="leading" id="xq5-uK-Qgb"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Vaw-Dn-P4X" customClass="RoundedButton" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="117.5" y="547" width="140" height="100"/>
<color key="backgroundColor" red="0.23474514530000001" green="0.23474514530000001" blue="0.23474514530000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="100" id="GV5-gm-Mgb"/>
<constraint firstAttribute="width" constant="140" id="yvj-4Q-SbM"/>
</constraints>
<color key="tintColor" red="0.40996540770000001" green="0.74387006369999997" blue="0.0063908164090000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<state key="normal" image="camera">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<state key="disabled">
<color key="titleColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<state key="highlighted">
<color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="imageButtonPressed" destination="oDF-NZ-j9r" eventType="touchUpInside" id="101-8q-Ys4"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="n6Y-h8-wqX" userLabel="Back Button" customClass="RoundedButton" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="285" y="577" width="70" height="70"/>
<color key="backgroundColor" red="0.23474514530000001" green="0.23474514530000001" blue="0.23474514530000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="70" id="GKD-MA-Vi8"/>
<constraint firstAttribute="width" secondItem="n6Y-h8-wqX" secondAttribute="height" multiplier="1:1" id="spk-9b-njd"/>
</constraints>
<color key="tintColor" red="0.40996540770000001" green="0.74387006369999997" blue="0.0063908164090000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<state key="normal" image="cancel">
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<state key="disabled">
<color key="titleColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<state key="highlighted">
<color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="backButtonPressed" destination="oDF-NZ-j9r" eventType="touchUpInside" id="Tj9-M1-kIZ"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" red="0.14168914909999999" green="0.14168914909999999" blue="0.14168914909999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="75a-Qa-tvd" firstAttribute="leading" secondItem="oi0-LU-PyW" secondAttribute="leading" id="3sA-U9-YPf"/>
<constraint firstItem="oi0-LU-PyW" firstAttribute="bottom" secondItem="75a-Qa-tvd" secondAttribute="bottom" id="44I-wq-3q0"/>
<constraint firstItem="Vaw-Dn-P4X" firstAttribute="centerX" secondItem="JR1-Im-yOB" secondAttribute="centerX" id="9Kc-2m-6gN"/>
<constraint firstItem="oi0-LU-PyW" firstAttribute="trailing" secondItem="n6Y-h8-wqX" secondAttribute="trailing" constant="20" id="9zc-lE-kuc"/>
<constraint firstItem="oi0-LU-PyW" firstAttribute="bottom" secondItem="Vaw-Dn-P4X" secondAttribute="bottom" constant="20" id="ikl-hi-ZxS"/>
<constraint firstItem="n6Y-h8-wqX" firstAttribute="bottom" secondItem="Vaw-Dn-P4X" secondAttribute="bottom" id="tYb-nH-Gcw"/>
<constraint firstItem="75a-Qa-tvd" firstAttribute="top" secondItem="oi0-LU-PyW" secondAttribute="top" id="uOs-bC-Ham"/>
<constraint firstItem="oi0-LU-PyW" firstAttribute="trailing" secondItem="75a-Qa-tvd" secondAttribute="trailing" id="wnh-xb-MEk"/>
</constraints>
<viewLayoutGuide key="safeArea" id="oi0-LU-PyW"/>
</view>
<tabBarItem key="tabBarItem" systemItem="search" id="eNS-Ka-b0t"/>
<modalPageSheetSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
<outlet property="cameraView" destination="JR1-Im-yOB" id="qau-yi-xCB"/>
<outlet property="cancelButton" destination="n6Y-h8-wqX" id="EHz-dt-jwA"/>
<outlet property="cropView" destination="RWS-jY-sNX" id="9OR-8z-a1p"/>
<outlet property="imageButton" destination="Vaw-Dn-P4X" id="2mY-wk-jWZ"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="u9k-DO-1HN" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="3159" y="1558"/>
</scene>
<!--Table View-->
<scene sceneID="3Dy-nA-zIw">
<objects>
<viewController id="VSb-c5-JF6" customClass="TableView" customModule="CapCollector" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Vc7-bL-TES">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" showsVerticalScrollIndicator="NO" keyboardDismissMode="onDrag" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Djy-MM-jNn">
<rect key="frame" x="0.0" y="110" width="375" height="501"/>
<color key="backgroundColor" red="0.14168914909999999" green="0.14168914909999999" blue="0.14168914909999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="cap" rowHeight="100" id="ubX-SO-ltt" customClass="CapCell" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="375" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ubX-SO-ltt" id="BD9-Ic-hwS">
<rect key="frame" x="0.0" y="0.0" width="375" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="eHr-Uk-WC9" customClass="RoundedImageView" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="2" y="2" width="96" height="96"/>
<constraints>
<constraint firstAttribute="width" secondItem="eHr-Uk-WC9" secondAttribute="height" multiplier="1:1" id="640-1g-g0v"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="71 % match" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pe1-sR-2RT">
<rect key="frame" x="106" y="2.5" width="128" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="Some brand with a long name of more than 2 lines" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sij-H0-zYC">
<rect key="frame" x="106" y="25.5" width="261" height="49"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleTitle2"/>
<color key="textColor" red="0.83921568629999999" green="0.9379758883" blue="0.54901960780000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="# caps" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nJ1-TQ-ZT3">
<rect key="frame" x="315.5" y="2.5" width="51.5" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="Pe1-sR-2RT" firstAttribute="leading" secondItem="eHr-Uk-WC9" secondAttribute="trailing" constant="8" id="1bU-zq-83L"/>
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="Sij-H0-zYC" secondAttribute="bottom" constant="8" id="3e4-bs-Jka"/>
<constraint firstItem="eHr-Uk-WC9" firstAttribute="leading" secondItem="BD9-Ic-hwS" secondAttribute="leading" constant="2" id="BH6-4m-jIT"/>
<constraint firstItem="Sij-H0-zYC" firstAttribute="top" secondItem="Pe1-sR-2RT" secondAttribute="bottom" constant="2" id="FNF-xm-BjR"/>
<constraint firstItem="Sij-H0-zYC" firstAttribute="leading" secondItem="Pe1-sR-2RT" secondAttribute="leading" id="SdR-AF-gcG"/>
<constraint firstAttribute="bottom" secondItem="eHr-Uk-WC9" secondAttribute="bottom" constant="2" id="UGo-B1-mHf"/>
<constraint firstItem="nJ1-TQ-ZT3" firstAttribute="leading" secondItem="Pe1-sR-2RT" secondAttribute="trailing" constant="81.5" id="WQ3-ZG-Hva"/>
<constraint firstAttribute="trailing" secondItem="Sij-H0-zYC" secondAttribute="trailing" constant="8" id="hKh-2e-iDu"/>
<constraint firstItem="eHr-Uk-WC9" firstAttribute="centerY" secondItem="BD9-Ic-hwS" secondAttribute="centerY" id="lRZ-Qc-0MI"/>
<constraint firstItem="Sij-H0-zYC" firstAttribute="centerY" secondItem="BD9-Ic-hwS" secondAttribute="centerY" id="mIz-nP-Mtz"/>
<constraint firstItem="nJ1-TQ-ZT3" firstAttribute="trailing" secondItem="Sij-H0-zYC" secondAttribute="trailing" id="r1z-vT-brQ"/>
<constraint firstItem="nJ1-TQ-ZT3" firstAttribute="centerY" secondItem="Pe1-sR-2RT" secondAttribute="centerY" id="xBh-YR-DhC"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" red="0.14168914909999999" green="0.14168914909999999" blue="0.14168914909999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<connections>
<outlet property="capImage" destination="eHr-Uk-WC9" id="sQH-w5-lp6"/>
<outlet property="countLabel" destination="nJ1-TQ-ZT3" id="Vde-d4-EhH"/>
<outlet property="matchLabel" destination="Pe1-sR-2RT" id="ZPR-ro-2Yg"/>
<outlet property="nameLabel" destination="Sij-H0-zYC" id="Wc1-h9-i2E"/>
</connections>
</tableViewCell>
</prototypes>
</tableView>
<searchBar contentMode="redraw" barStyle="black" searchBarStyle="minimal" placeholder="Search caps" translucent="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xrp-e5-Cxl">
<rect key="frame" x="0.0" y="611" width="319" height="56"/>
<color key="backgroundColor" red="0.14168914909999999" green="0.14168914909999999" blue="0.14168914909999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" keyboardAppearance="alert" returnKeyType="search" smartDashesType="no" smartInsertDeleteType="no" smartQuotesType="no"/>
<scopeButtonTitles>
<string>Title</string>
<string>Title</string>
</scopeButtonTitles>
</searchBar>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ks7-y5-82m">
<rect key="frame" x="319" y="611" width="56" height="56"/>
<color key="backgroundColor" red="0.14168914909999999" green="0.14168914909999999" blue="0.14168914909999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="56" id="ePe-XA-CtH"/>
<constraint firstAttribute="width" secondItem="Ks7-y5-82m" secondAttribute="height" multiplier="1:1" id="kwo-RI-k9X"/>
</constraints>
<state key="normal" title="Button" image="camera_square"/>
<connections>
<action selector="imageClearButtonPressed" destination="VSb-c5-JF6" eventType="touchUpInside" id="zGe-MT-RR1"/>
<segue destination="oDF-NZ-j9r" kind="show" identifier="showCamera" id="CZp-Jx-hhr"/>
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="m5W-zE-D1T">
<rect key="frame" x="0.0" y="20" width="375" height="90"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="TLY-ak-c4W" customClass="RoundedImageView" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="2" y="2" width="86" height="86"/>
<constraints>
<constraint firstAttribute="width" secondItem="TLY-ak-c4W" secondAttribute="height" multiplier="1:1" id="SU9-Ph-0PV"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Wyc-2T-CIk" customClass="RoundedButton" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="96" y="30" width="131.5" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="gZx-2X-umh"/>
</constraints>
<state key="normal" title="Save">
<color key="titleColor" red="0.83921568629999999" green="0.9379758883" blue="0.54901960780000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" red="0.83921568629999999" green="0.9379758883" blue="0.54901960780000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="saveButtonPressed" destination="VSb-c5-JF6" eventType="touchUpInside" id="4AR-Ph-o3o"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wMe-pc-3Zj" customClass="RoundedButton" customModule="CapCollector" customModuleProvider="target">
<rect key="frame" x="235.5" y="30" width="131.5" height="30"/>
<state key="normal" title="Delete">
<color key="titleColor" red="0.83921568629999999" green="0.9379758883" blue="0.54901960780000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" red="0.83921568629999999" green="0.9379758883" blue="0.54901960780000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="deleteButtonPressed" destination="VSb-c5-JF6" eventType="touchUpInside" id="Du1-og-bhf"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" red="0.14168914909999999" green="0.14168914909999999" blue="0.14168914909999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="wMe-pc-3Zj" secondAttribute="trailing" constant="8" id="7h0-P7-I7h"/>
<constraint firstAttribute="height" constant="90" id="AUb-Ft-duN"/>
<constraint firstAttribute="bottom" secondItem="TLY-ak-c4W" secondAttribute="bottom" constant="2" id="L7F-jU-EaK"/>
<constraint firstItem="Wyc-2T-CIk" firstAttribute="centerY" secondItem="m5W-zE-D1T" secondAttribute="centerY" id="MXd-KD-oxZ"/>
<constraint firstItem="wMe-pc-3Zj" firstAttribute="leading" secondItem="Wyc-2T-CIk" secondAttribute="trailing" constant="8" id="PTl-jC-foM"/>
<constraint firstItem="Wyc-2T-CIk" firstAttribute="leading" secondItem="TLY-ak-c4W" secondAttribute="trailing" constant="8" id="a9h-aD-eGM"/>
<constraint firstItem="TLY-ak-c4W" firstAttribute="top" secondItem="m5W-zE-D1T" secondAttribute="top" constant="2" id="cqY-6J-wZ2"/>
<constraint firstItem="wMe-pc-3Zj" firstAttribute="centerY" secondItem="m5W-zE-D1T" secondAttribute="centerY" id="eZm-fE-jDg"/>
<constraint firstItem="TLY-ak-c4W" firstAttribute="leading" secondItem="m5W-zE-D1T" secondAttribute="leading" constant="2" id="q5i-NN-2kA"/>
<constraint firstItem="wMe-pc-3Zj" firstAttribute="width" secondItem="Wyc-2T-CIk" secondAttribute="width" id="wlK-Mg-D9n"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="0.14168914909999999" green="0.14168914909999999" blue="0.14168914909999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="ubM-g6-UCF" firstAttribute="trailing" secondItem="Ks7-y5-82m" secondAttribute="trailing" id="4FR-Kx-Kfu"/>
<constraint firstItem="ubM-g6-UCF" firstAttribute="trailing" secondItem="m5W-zE-D1T" secondAttribute="trailing" id="DOw-9l-2O1"/>
<constraint firstItem="ubM-g6-UCF" firstAttribute="trailing" secondItem="Djy-MM-jNn" secondAttribute="trailing" id="Ghh-Hs-JzF"/>
<constraint firstItem="Ks7-y5-82m" firstAttribute="top" secondItem="Xrp-e5-Cxl" secondAttribute="top" id="RGy-I1-MVT"/>
<constraint firstItem="ubM-g6-UCF" firstAttribute="bottom" secondItem="Xrp-e5-Cxl" secondAttribute="bottom" id="Y5M-co-2Un"/>
<constraint firstItem="m5W-zE-D1T" firstAttribute="leading" secondItem="ubM-g6-UCF" secondAttribute="leading" id="aPP-aa-cmD"/>
<constraint firstItem="Djy-MM-jNn" firstAttribute="top" secondItem="m5W-zE-D1T" secondAttribute="bottom" id="cNb-ms-LeU"/>
<constraint firstItem="Ks7-y5-82m" firstAttribute="leading" secondItem="Xrp-e5-Cxl" secondAttribute="trailing" id="e46-xz-RV5"/>
<constraint firstItem="Xrp-e5-Cxl" firstAttribute="leading" secondItem="ubM-g6-UCF" secondAttribute="leading" id="hXz-2U-50F"/>
<constraint firstItem="Djy-MM-jNn" firstAttribute="leading" secondItem="ubM-g6-UCF" secondAttribute="leading" id="j6y-an-UAV"/>
<constraint firstItem="Xrp-e5-Cxl" firstAttribute="top" secondItem="Djy-MM-jNn" secondAttribute="bottom" id="jNO-hG-AUn"/>
<constraint firstItem="Ks7-y5-82m" firstAttribute="bottom" secondItem="Xrp-e5-Cxl" secondAttribute="bottom" id="qWb-TH-cFw"/>
<constraint firstItem="ubM-g6-UCF" firstAttribute="top" secondItem="m5W-zE-D1T" secondAttribute="top" id="xpP-XY-r4B"/>
</constraints>
<viewLayoutGuide key="safeArea" id="ubM-g6-UCF"/>
</view>
<nil key="simulatedTopBarMetrics"/>
<nil key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="deleteButton" destination="wMe-pc-3Zj" id="c9L-bH-9gt"/>
<outlet property="imageButtonConstraint" destination="4FR-Kx-Kfu" id="Id8-GZ-b98"/>
<outlet property="imageClearButton" destination="Ks7-y5-82m" id="rML-XC-FO7"/>
<outlet property="imageView" destination="m5W-zE-D1T" id="d1Q-vt-6Y5"/>
<outlet property="imageViewContraint" destination="xpP-XY-r4B" id="Ogg-ty-ELE"/>
<outlet property="newImage" destination="TLY-ak-c4W" id="hP1-M9-g6a"/>
<outlet property="saveButton" destination="Wyc-2T-CIk" id="Z2V-2o-rmp"/>
<outlet property="searchBar" destination="Xrp-e5-Cxl" id="Mhm-u0-vKn"/>
<outlet property="searchBarConstraint" destination="Y5M-co-2Un" id="wUn-uK-n1e"/>
<outlet property="table" destination="Djy-MM-jNn" id="j5C-x9-SNf"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="yym-Ts-ne2" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2469.5999999999999" y="1557.5712143928038"/>
2018-05-05 08:08:37 +02:00
</scene>
</scenes>
2018-08-16 11:18:27 +02:00
<resources>
<image name="camera" width="280" height="200"/>
<image name="camera_square" width="220" height="220"/>
<image name="cancel" width="178" height="178"/>
</resources>
<color key="tintColor" red="0.83921568629999999" green="0.9379758883" blue="0.54901960780000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2018-05-05 08:08:37 +02:00
</document>