| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
- <device id="ipad9_7" orientation="portrait">
- <adaptation id="fullscreen"/>
- </device>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <scenes>
- <!--ScannerViewController-->
- <scene sceneID="ujq-xf-Oml">
- <objects>
- <viewController storyboardIdentifier="ScannerViewController" title="ScannerViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="kVd-Bz-inR" customClass="ScannerViewController" sceneMemberID="viewController">
- <layoutGuides>
- <viewControllerLayoutGuide type="top" id="NEh-qa-oua"/>
- <viewControllerLayoutGuide type="bottom" id="yWx-4n-MjG"/>
- </layoutGuides>
- <view key="view" contentMode="scaleToFill" id="Ls8-b3-CO0">
- <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YsE-DF-hiM" customClass="ScannerControllerView">
- <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="wordWrap" translatesAutoresizingMaskIntoConstraints="NO" id="r3N-1u-7iO" userLabel="Button scan">
- <rect key="frame" x="613" y="694" width="108" height="108"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
- <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <state key="normal">
- <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="54"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <action selector="ScanButtonClick:" destination="kVd-Bz-inR" eventType="touchUpInside" id="yma-nd-AN9"/>
- </connections>
- </button>
- <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="pick_bg" translatesAutoresizingMaskIntoConstraints="NO" id="XWh-0J-sDJ">
- <rect key="frame" x="134" y="362" width="500" height="300"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
- </imageView>
- </subviews>
- <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
- </view>
- </subviews>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </view>
- <navigationItem key="navigationItem" title="Scanner" id="Q4Z-q4-4V4"/>
- <connections>
- <outlet property="backgroundView" destination="YsE-DF-hiM" id="IER-tw-aql"/>
- <outlet property="focusZone" destination="XWh-0J-sDJ" id="0Yv-QM-d8Y"/>
- <outlet property="scanButton" destination="r3N-1u-7iO" id="Eeq-vI-mME"/>
- </connections>
- </viewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="hQT-6P-tva" userLabel="First Responder" sceneMemberID="firstResponder"/>
- </objects>
- <point key="canvasLocation" x="2777" y="-4303"/>
- </scene>
- <!--Scanner View Controller-->
- <scene sceneID="SH4-Uh-XKh">
- <objects>
- <viewController storyboardIdentifier="NewScannerViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="tcU-ug-x8T" customClass="ScannerViewController" sceneMemberID="viewController">
- <layoutGuides>
- <viewControllerLayoutGuide type="top" id="vJh-sb-kj6"/>
- <viewControllerLayoutGuide type="bottom" id="8tU-AM-64o"/>
- </layoutGuides>
- <view key="view" contentMode="scaleToFill" id="Jbd-IF-zOk">
- <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ym0-7Q-YSA" customClass="ScannerControllerView">
- <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
- <subviews>
- <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="pick_bg" translatesAutoresizingMaskIntoConstraints="NO" id="AWN-OI-m1R">
- <rect key="frame" x="284" y="412" width="200" height="200"/>
- <color key="backgroundColor" red="0.064155410240000002" green="1" blue="0.59383154270000005" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstAttribute="height" constant="200" id="38l-YS-3Mf"/>
- <constraint firstAttribute="width" constant="200" id="J44-fN-4A7"/>
- </constraints>
- </imageView>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="wordWrap" translatesAutoresizingMaskIntoConstraints="NO" id="V66-PS-hiP" userLabel="Button scan">
- <rect key="frame" x="668" y="924" width="80" height="80"/>
- <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="width" constant="80" id="NqQ-6g-9PW"/>
- <constraint firstAttribute="height" constant="80" id="bJd-iL-CJN"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <state key="normal">
- <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="40"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <action selector="ScanButtonClick:" destination="kVd-Bz-inR" eventType="touchUpInside" id="pnM-dE-N0i"/>
- </connections>
- </button>
- </subviews>
- <color key="backgroundColor" red="0.25435081980000002" green="0.75957768849999996" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="trailing" secondItem="V66-PS-hiP" secondAttribute="trailing" constant="20" id="aGy-Ut-mhz"/>
- <constraint firstItem="AWN-OI-m1R" firstAttribute="centerX" secondItem="ym0-7Q-YSA" secondAttribute="centerX" id="dnB-Xj-nye"/>
- <constraint firstItem="AWN-OI-m1R" firstAttribute="centerY" secondItem="ym0-7Q-YSA" secondAttribute="centerY" id="ijX-CV-tZ4"/>
- <constraint firstAttribute="bottom" secondItem="V66-PS-hiP" secondAttribute="bottom" constant="20" id="rm6-2h-eOb"/>
- </constraints>
- </view>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
- <constraints>
- <constraint firstItem="ym0-7Q-YSA" firstAttribute="height" secondItem="Jbd-IF-zOk" secondAttribute="height" id="7Za-Ed-bwH"/>
- <constraint firstItem="ym0-7Q-YSA" firstAttribute="centerY" secondItem="Jbd-IF-zOk" secondAttribute="centerY" id="F9k-u4-ag8"/>
- <constraint firstItem="ym0-7Q-YSA" firstAttribute="centerX" secondItem="Jbd-IF-zOk" secondAttribute="centerX" id="n7A-j9-HUz"/>
- <constraint firstItem="ym0-7Q-YSA" firstAttribute="width" secondItem="Jbd-IF-zOk" secondAttribute="width" id="znP-vL-ANH"/>
- </constraints>
- </view>
- <connections>
- <outlet property="backgroundView" destination="ym0-7Q-YSA" id="8hJ-Zg-WKK"/>
- <outlet property="focusZone" destination="AWN-OI-m1R" id="IaT-gr-33p"/>
- <outlet property="scanButton" destination="V66-PS-hiP" id="8db-eA-TEF"/>
- </connections>
- </viewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="Xqj-1h-Bmj" userLabel="First Responder" sceneMemberID="firstResponder"/>
- </objects>
- <point key="canvasLocation" x="3545.3125" y="-4286.71875"/>
- </scene>
- <!--ScannerViewController-->
- <scene sceneID="ZZQ-hs-Ddc">
- <objects>
- <viewController storyboardIdentifier="ScannerViewController_iphone" title="ScannerViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="W5h-sy-voL" customClass="ScannerViewController" sceneMemberID="viewController">
- <layoutGuides>
- <viewControllerLayoutGuide type="top" id="GXm-rU-QLH"/>
- <viewControllerLayoutGuide type="bottom" id="zUX-g0-Hkz"/>
- </layoutGuides>
- <view key="view" contentMode="scaleToFill" id="eYG-aJ-mn9">
- <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eLP-bM-zQa" customClass="ScannerControllerView">
- <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="wordWrap" translatesAutoresizingMaskIntoConstraints="NO" id="ZFh-Hp-cqD" userLabel="Button scan">
- <rect key="frame" x="613" y="694" width="108" height="108"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
- <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <state key="normal">
- <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="54"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <action selector="ScanButtonClick:" destination="W5h-sy-voL" eventType="touchUpInside" id="Wtj-5g-isM"/>
- </connections>
- </button>
- <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="pick_bg" translatesAutoresizingMaskIntoConstraints="NO" id="oc0-9C-Kwa">
- <rect key="frame" x="134" y="362" width="500" height="300"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
- </imageView>
- </subviews>
- <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
- </view>
- </subviews>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </view>
- <navigationItem key="navigationItem" title="Scanner" id="5ze-4v-lO2"/>
- <connections>
- <outlet property="backgroundView" destination="eLP-bM-zQa" id="sXn-0Z-dFl"/>
- <outlet property="focusZone" destination="oc0-9C-Kwa" id="n3h-0p-HCr"/>
- <outlet property="scanButton" destination="ZFh-Hp-cqD" id="WD0-SO-tvT"/>
- </connections>
- </viewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="XcQ-aO-Vmu" userLabel="First Responder" sceneMemberID="firstResponder"/>
- </objects>
- <point key="canvasLocation" x="4319" y="-4286"/>
- </scene>
- </scenes>
- <resources>
- <image name="pick_bg" width="16" height="16"/>
- </resources>
- </document>
|