Files
2021-04-23 09:51:10 +02:00

270 lines
27 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_0" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="AddGiftCardView" customModule="app" customModuleProvider="target">
<connections>
<outlet property="imageViewGiftCard" destination="d1I-QF-pw1" id="5fw-2F-xAr"/>
<outlet property="textField16DigitCode" destination="iC0-xL-ohZ" id="NyN-hv-ykO"/>
<outlet property="textField4DigitPin" destination="obf-BO-4SS" id="B3M-vw-tY1"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
<outlet property="viewScanCard" destination="5oR-1p-VHM" id="zsf-w2-SE0"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Kb5-vb-Ubm">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JiC-1u-km1">
<rect key="frame" x="0.0" y="0.0" width="320" height="60"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="info.circle.fill" catalog="system" translatesAutoresizingMaskIntoConstraints="NO" id="TRp-2w-GY2">
<rect key="frame" x="15" y="20.5" width="20" height="19"/>
<color key="tintColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="INk-sn-HGL"/>
<constraint firstAttribute="width" constant="20" id="JzV-i5-2eK"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Enter the long number and scratch off the panel on your card to reveal your pin as shown below." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="TMJ-I7-pHx">
<rect key="frame" x="45" y="10" width="260" height="40"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" systemColor="tertiarySystemFillColor" red="0.46274509800000002" green="0.46274509800000002" blue="0.50196078430000002" alpha="0.12" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="TMJ-I7-pHx" firstAttribute="leading" secondItem="TRp-2w-GY2" secondAttribute="trailing" constant="10" id="6Wp-Cd-gtA"/>
<constraint firstItem="TRp-2w-GY2" firstAttribute="leading" secondItem="JiC-1u-km1" secondAttribute="leading" constant="15" id="Js0-jH-Dzr"/>
<constraint firstAttribute="height" constant="60" id="KYp-fY-m0q"/>
<constraint firstItem="TRp-2w-GY2" firstAttribute="centerY" secondItem="JiC-1u-km1" secondAttribute="centerY" id="RC8-mn-OYa"/>
<constraint firstAttribute="bottom" secondItem="TMJ-I7-pHx" secondAttribute="bottom" constant="10" id="T3m-8J-NWB"/>
<constraint firstItem="TMJ-I7-pHx" firstAttribute="top" secondItem="JiC-1u-km1" secondAttribute="top" constant="10" id="bEr-kX-Txf"/>
<constraint firstAttribute="trailing" secondItem="TMJ-I7-pHx" secondAttribute="trailing" constant="15" id="t4S-ss-mQO"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cDh-6r-SxS">
<rect key="frame" x="0.0" y="518" width="320" height="50"/>
<color key="backgroundColor" name="Theme"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="wfK-P6-73N"/>
</constraints>
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
<state key="normal" title="Add Gift Card"/>
<connections>
<action selector="actionAddGiftCard:" destination="-1" eventType="touchUpInside" id="ibT-Qw-7fO"/>
</connections>
</button>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="d1I-QF-pw1">
<rect key="frame" x="75" y="80" width="170" height="100"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" secondItem="d1I-QF-pw1" secondAttribute="height" multiplier="17:10" id="jEa-H3-DtQ"/>
<constraint firstAttribute="height" constant="100" id="swM-qr-4Ns"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
<integer key="value" value="10"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</imageView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="RFQ-Zd-pC6">
<rect key="frame" x="15" y="200" width="290" height="160"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="D33-fV-a7e">
<rect key="frame" x="0.0" y="0.0" width="290" height="75"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="16-Digit Code" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="DtL-wt-f4b">
<rect key="frame" x="0.0" y="0.0" width="78.5" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="JHF-NI-f0t"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3WB-BG-vM2">
<rect key="frame" x="0.0" y="30" width="290" height="45"/>
<subviews>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="iC0-xL-ohZ">
<rect key="frame" x="10" y="0.0" width="270" height="45"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
<color key="backgroundColor" systemColor="tertiarySystemFillColor" red="0.46274509800000002" green="0.46274509800000002" blue="0.50196078430000002" alpha="0.12" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="iC0-xL-ohZ" secondAttribute="bottom" id="dRH-gf-dLM"/>
<constraint firstItem="iC0-xL-ohZ" firstAttribute="top" secondItem="3WB-BG-vM2" secondAttribute="top" id="pNr-Bd-Q4Z"/>
<constraint firstItem="iC0-xL-ohZ" firstAttribute="leading" secondItem="3WB-BG-vM2" secondAttribute="leading" constant="10" id="pPR-hT-MLM"/>
<constraint firstAttribute="trailing" secondItem="iC0-xL-ohZ" secondAttribute="trailing" constant="10" id="xrd-rJ-WR5"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
<integer key="value" value="8"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="3WB-BG-vM2" firstAttribute="top" secondItem="DtL-wt-f4b" secondAttribute="bottom" id="0Ef-GO-3rn"/>
<constraint firstItem="DtL-wt-f4b" firstAttribute="leading" secondItem="D33-fV-a7e" secondAttribute="leading" id="5ij-ak-Ipy"/>
<constraint firstAttribute="bottom" secondItem="3WB-BG-vM2" secondAttribute="bottom" id="7E7-lk-ilz"/>
<constraint firstItem="DtL-wt-f4b" firstAttribute="top" secondItem="D33-fV-a7e" secondAttribute="top" id="FfX-YY-FXH"/>
<constraint firstAttribute="trailing" secondItem="3WB-BG-vM2" secondAttribute="trailing" id="ksf-dd-Aoz"/>
<constraint firstAttribute="height" constant="75" id="lUE-on-HS8"/>
<constraint firstItem="3WB-BG-vM2" firstAttribute="leading" secondItem="D33-fV-a7e" secondAttribute="leading" id="ssR-Dx-8ly"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4Xx-bk-aZe">
<rect key="frame" x="0.0" y="85" width="290" height="75"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="4-Digit Pin" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="XEV-ny-l6S">
<rect key="frame" x="0.0" y="0.0" width="61" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="SH4-QB-nC2"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TfL-g6-TaT">
<rect key="frame" x="0.0" y="30" width="290" height="45"/>
<subviews>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="obf-BO-4SS">
<rect key="frame" x="10" y="0.0" width="270" height="45"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
<color key="backgroundColor" systemColor="tertiarySystemFillColor" red="0.46274509800000002" green="0.46274509800000002" blue="0.50196078430000002" alpha="0.12" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="obf-BO-4SS" secondAttribute="bottom" id="Kqb-sc-7af"/>
<constraint firstItem="obf-BO-4SS" firstAttribute="top" secondItem="TfL-g6-TaT" secondAttribute="top" id="MJT-Ff-pq7"/>
<constraint firstAttribute="trailing" secondItem="obf-BO-4SS" secondAttribute="trailing" constant="10" id="iRw-7M-0fW"/>
<constraint firstItem="obf-BO-4SS" firstAttribute="leading" secondItem="TfL-g6-TaT" secondAttribute="leading" constant="10" id="y5L-6w-IPD"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
<integer key="value" value="8"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="XEV-ny-l6S" firstAttribute="top" secondItem="4Xx-bk-aZe" secondAttribute="top" id="78p-s1-SxF"/>
<constraint firstItem="TfL-g6-TaT" firstAttribute="top" secondItem="XEV-ny-l6S" secondAttribute="bottom" id="C23-Nm-Bg0"/>
<constraint firstItem="TfL-g6-TaT" firstAttribute="leading" secondItem="4Xx-bk-aZe" secondAttribute="leading" id="LJ4-9L-46w"/>
<constraint firstItem="XEV-ny-l6S" firstAttribute="leading" secondItem="4Xx-bk-aZe" secondAttribute="leading" id="UI0-8M-elP"/>
<constraint firstAttribute="bottom" secondItem="TfL-g6-TaT" secondAttribute="bottom" id="eLV-Zc-QDA"/>
<constraint firstAttribute="trailing" secondItem="TfL-g6-TaT" secondAttribute="trailing" id="qg0-yf-rkP"/>
</constraints>
</view>
</subviews>
</stackView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="d1I-QF-pw1" firstAttribute="centerX" secondItem="Kb5-vb-Ubm" secondAttribute="centerX" id="35S-q9-SDY"/>
<constraint firstAttribute="trailing" secondItem="JiC-1u-km1" secondAttribute="trailing" id="3Bs-Tf-Mqs"/>
<constraint firstAttribute="trailing" secondItem="cDh-6r-SxS" secondAttribute="trailing" id="C8a-6D-1kj"/>
<constraint firstItem="RFQ-Zd-pC6" firstAttribute="top" secondItem="d1I-QF-pw1" secondAttribute="bottom" constant="20" id="DJX-Jf-eMl"/>
<constraint firstItem="RFQ-Zd-pC6" firstAttribute="leading" secondItem="Kb5-vb-Ubm" secondAttribute="leading" constant="15" id="DZe-0Z-l9J"/>
<constraint firstItem="JiC-1u-km1" firstAttribute="leading" secondItem="Kb5-vb-Ubm" secondAttribute="leading" id="EFm-AB-USP"/>
<constraint firstAttribute="bottom" secondItem="cDh-6r-SxS" secondAttribute="bottom" id="NwE-Fd-nof"/>
<constraint firstItem="cDh-6r-SxS" firstAttribute="leading" secondItem="Kb5-vb-Ubm" secondAttribute="leading" id="OgW-Ke-ez1"/>
<constraint firstItem="JiC-1u-km1" firstAttribute="top" secondItem="Kb5-vb-Ubm" secondAttribute="top" id="VfS-eU-Lta"/>
<constraint firstAttribute="trailing" secondItem="RFQ-Zd-pC6" secondAttribute="trailing" constant="15" id="dIv-PB-Qhv"/>
<constraint firstItem="d1I-QF-pw1" firstAttribute="top" secondItem="JiC-1u-km1" secondAttribute="bottom" constant="20" id="qGU-X7-pTH"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="Kb5-vb-Ubm" secondAttribute="bottom" id="0lO-3O-zjP"/>
<constraint firstItem="Kb5-vb-Ubm" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="JJw-00-6m8"/>
<constraint firstItem="Kb5-vb-Ubm" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="mqH-3Z-wMA"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="Kb5-vb-Ubm" secondAttribute="trailing" id="tcL-gY-MoI"/>
</constraints>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<point key="canvasLocation" x="132" y="133"/>
</view>
<view contentMode="scaleToFill" id="5oR-1p-VHM">
<rect key="frame" x="0.0" y="0.0" width="136" height="45"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nhA-2j-yNB">
<rect key="frame" x="0.0" y="0.0" width="136" height="45"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Scan Card" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OkH-5u-8nM">
<rect key="frame" x="10" y="10" width="91" height="25"/>
<constraints>
<constraint firstAttribute="height" constant="25" id="e9R-eZ-71w"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" name="Theme"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="barcode.viewfinder" catalog="system" translatesAutoresizingMaskIntoConstraints="NO" id="fU6-4h-lVM">
<rect key="frame" x="111" y="13.5" width="20" height="17.5"/>
<color key="tintColor" name="Theme"/>
<constraints>
<constraint firstAttribute="width" constant="20" id="7Hw-8y-JNv"/>
<constraint firstAttribute="height" constant="20" id="7PY-h8-cUP"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ffC-MM-qNf">
<rect key="frame" x="0.0" y="0.0" width="136" height="45"/>
<connections>
<action selector="actionScanCard:" destination="-1" eventType="touchUpInside" id="OY5-9b-YXP"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="ffC-MM-qNf" secondAttribute="bottom" id="1le-AL-wm0"/>
<constraint firstItem="ffC-MM-qNf" firstAttribute="top" secondItem="nhA-2j-yNB" secondAttribute="top" id="34w-Ks-Awl"/>
<constraint firstItem="OkH-5u-8nM" firstAttribute="leading" secondItem="nhA-2j-yNB" secondAttribute="leading" constant="10" id="7Bk-mx-9cR"/>
<constraint firstItem="OkH-5u-8nM" firstAttribute="centerY" secondItem="nhA-2j-yNB" secondAttribute="centerY" id="9XU-9w-Ded"/>
<constraint firstItem="fU6-4h-lVM" firstAttribute="centerY" secondItem="nhA-2j-yNB" secondAttribute="centerY" id="JX8-go-e1F"/>
<constraint firstAttribute="trailing" secondItem="ffC-MM-qNf" secondAttribute="trailing" id="LRB-ZQ-rns"/>
<constraint firstAttribute="trailing" secondItem="fU6-4h-lVM" secondAttribute="trailing" constant="5" id="dGG-08-fQ6"/>
<constraint firstItem="ffC-MM-qNf" firstAttribute="leading" secondItem="nhA-2j-yNB" secondAttribute="leading" id="dIH-7a-zIh"/>
<constraint firstItem="fU6-4h-lVM" firstAttribute="leading" secondItem="OkH-5u-8nM" secondAttribute="trailing" constant="10" id="dtF-sT-8Tq"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="nhA-2j-yNB" firstAttribute="leading" secondItem="khx-DI-Nju" secondAttribute="leading" id="YMo-XK-7CD"/>
<constraint firstAttribute="bottom" secondItem="nhA-2j-yNB" secondAttribute="bottom" id="lCa-EH-R9N"/>
<constraint firstItem="nhA-2j-yNB" firstAttribute="top" secondItem="5oR-1p-VHM" secondAttribute="top" id="qqf-qd-sCN"/>
<constraint firstItem="khx-DI-Nju" firstAttribute="trailing" secondItem="nhA-2j-yNB" secondAttribute="trailing" id="xYQ-co-epE"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<viewLayoutGuide key="safeArea" id="khx-DI-Nju"/>
<point key="canvasLocation" x="633.75" y="-144.19014084507043"/>
</view>
</objects>
<resources>
<image name="barcode.viewfinder" catalog="system" width="64" height="56"/>
<image name="info.circle.fill" catalog="system" width="64" height="60"/>
<namedColor name="Theme">
<color red="0.045000001788139343" green="0.59799998998641968" blue="0.83499997854232788" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
</namedColor>
</resources>
</document>