123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
- <dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
- <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="PDFFreehandViewController">
- <connections>
- <outlet property="colorView" destination="fcE-nU-Tbx" id="WKY-ka-MlN"/>
- <outlet property="contentView" destination="RmZ-GW-e6m" id="grP-PJ-Wwa"/>
- <outlet property="drawView" destination="w8G-1U-SCv" id="bWq-Nh-lUF"/>
- <outlet property="opacitySlider" destination="0IT-zq-8Gq" id="aAn-Jl-bHY"/>
- <outlet property="style1Button" destination="O66-zb-fMU" id="n9Q-td-Xug"/>
- <outlet property="style2Button" destination="q8M-ut-VCP" id="o0H-By-C7o"/>
- <outlet property="thicknessMaxLabel" destination="Fgu-ng-Ebe" id="xEi-Pl-05c"/>
- <outlet property="thicknessMinLabel" destination="hAT-OL-taa" id="sX7-rO-Vnd"/>
- <outlet property="thicknessSlider" destination="c1T-FK-9RQ" id="jbg-F4-Mzn"/>
- <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
- </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="480"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RmZ-GW-e6m">
- <rect key="frame" x="0.0" y="0.0" width="320" height="318"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Color" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5zv-HD-DHw">
- <rect key="frame" x="5" y="65" width="26" height="12"/>
- <fontDescription key="fontDescription" type="system" pointSize="10"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <view contentMode="scaleToFill" placeholderIntrinsicWidth="infinite" placeholderIntrinsicHeight="50" translatesAutoresizingMaskIntoConstraints="NO" id="fcE-nU-Tbx" customClass="ColorView">
- <rect key="frame" x="0.0" y="82" width="320" height="50"/>
- </view>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Opacity" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="m0f-4a-tje">
- <rect key="frame" x="5" y="137" width="37.5" height="12"/>
- <fontDescription key="fontDescription" type="system" pointSize="10"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="25%" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="95Z-EW-zCu">
- <rect key="frame" x="5" y="163" width="22" height="12"/>
- <fontDescription key="fontDescription" type="system" pointSize="10"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="25" minValue="25" maxValue="100" continuous="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0IT-zq-8Gq">
- <rect key="frame" x="30" y="154" width="255" height="31"/>
- <connections>
- <action selector="sliderValueChanged_Opacity:" destination="-1" eventType="valueChanged" id="nS2-mg-taT"/>
- </connections>
- </slider>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="100%" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nE3-2I-4EH">
- <rect key="frame" x="288" y="163" width="27" height="12"/>
- <fontDescription key="fontDescription" type="system" pointSize="10"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Thickness" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="T4j-e7-ch6">
- <rect key="frame" x="5" y="189" width="49" height="12"/>
- <fontDescription key="fontDescription" type="system" pointSize="10"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0.5" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hAT-OL-taa">
- <rect key="frame" x="11.5" y="215" width="15.5" height="12"/>
- <fontDescription key="fontDescription" type="system" pointSize="10"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.5" maxValue="10" continuous="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c1T-FK-9RQ">
- <rect key="frame" x="30" y="206" width="255" height="31"/>
- <connections>
- <action selector="sliderValueChanged_BorderWidth:" destination="-1" eventType="valueChanged" id="5kt-Of-1FQ"/>
- </connections>
- </slider>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="10" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fgu-ng-Ebe">
- <rect key="frame" x="288" y="215" width="11.5" height="12"/>
- <fontDescription key="fontDescription" type="system" pointSize="10"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Style" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uoF-bN-D6f">
- <rect key="frame" x="5" y="241" width="24.5" height="12"/>
- <fontDescription key="fontDescription" type="system" pointSize="10"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="O66-zb-fMU">
- <rect key="frame" x="0.0" y="268" width="160" height="40"/>
- <constraints>
- <constraint firstAttribute="height" constant="40" id="udX-1K-MgW"/>
- </constraints>
- <state key="normal" image="brush_C01.png"/>
- <connections>
- <action selector="buttonItemClicked_Style:" destination="-1" eventType="touchUpInside" id="TRF-Yz-r1A"/>
- </connections>
- </button>
- <button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="q8M-ut-VCP">
- <rect key="frame" x="160" y="268" width="160" height="40"/>
- <constraints>
- <constraint firstAttribute="height" constant="40" id="mEZ-uI-2gB"/>
- </constraints>
- <state key="normal" image="brush_C02.png"/>
- <connections>
- <action selector="buttonItemClicked_Style:" destination="-1" eventType="touchUpInside" id="cxP-SC-OYe"/>
- </connections>
- </button>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="w8G-1U-SCv" customClass="PDFFreehandDrawView">
- <rect key="frame" x="0.0" y="0.0" width="320" height="60"/>
- <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstAttribute="height" constant="60" id="qw1-mX-RSM"/>
- </constraints>
- </view>
- </subviews>
- <viewLayoutGuide key="safeArea" id="bNt-1q-0gq"/>
- <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstItem="bNt-1q-0gq" firstAttribute="trailing" secondItem="w8G-1U-SCv" secondAttribute="trailing" id="0dv-Q8-UpR"/>
- <constraint firstItem="5zv-HD-DHw" firstAttribute="leading" secondItem="bNt-1q-0gq" secondAttribute="leading" constant="5" id="2db-gM-mcT"/>
- <constraint firstItem="w8G-1U-SCv" firstAttribute="leading" secondItem="bNt-1q-0gq" secondAttribute="leading" id="2lj-OD-MMe"/>
- <constraint firstItem="q8M-ut-VCP" firstAttribute="width" secondItem="RmZ-GW-e6m" secondAttribute="width" multiplier="1:2" id="2wX-cR-cwo"/>
- <constraint firstItem="uoF-bN-D6f" firstAttribute="leading" secondItem="bNt-1q-0gq" secondAttribute="leading" constant="5" id="BHd-qt-Ecg"/>
- <constraint firstItem="w8G-1U-SCv" firstAttribute="top" secondItem="RmZ-GW-e6m" secondAttribute="top" id="CcG-tK-WDF"/>
- <constraint firstItem="O66-zb-fMU" firstAttribute="leading" secondItem="bNt-1q-0gq" secondAttribute="leading" id="Fgm-G9-kEG"/>
- <constraint firstItem="bNt-1q-0gq" firstAttribute="trailing" secondItem="fcE-nU-Tbx" secondAttribute="trailing" id="GNy-td-kDQ"/>
- <constraint firstItem="5zv-HD-DHw" firstAttribute="top" secondItem="w8G-1U-SCv" secondAttribute="bottom" constant="5" id="K4p-85-ADC"/>
- <constraint firstItem="nE3-2I-4EH" firstAttribute="leading" secondItem="0IT-zq-8Gq" secondAttribute="trailing" constant="5" id="LBR-Iq-DCx"/>
- <constraint firstItem="c1T-FK-9RQ" firstAttribute="top" secondItem="T4j-e7-ch6" secondAttribute="bottom" constant="5" id="NgR-OR-8JR"/>
- <constraint firstItem="m0f-4a-tje" firstAttribute="leading" secondItem="bNt-1q-0gq" secondAttribute="leading" constant="5" id="OXg-li-xXU"/>
- <constraint firstItem="c1T-FK-9RQ" firstAttribute="leading" secondItem="0IT-zq-8Gq" secondAttribute="leading" id="PaA-3H-scI"/>
- <constraint firstItem="hAT-OL-taa" firstAttribute="centerY" secondItem="c1T-FK-9RQ" secondAttribute="centerY" id="Qml-Tp-H36"/>
- <constraint firstItem="T4j-e7-ch6" firstAttribute="leading" secondItem="bNt-1q-0gq" secondAttribute="leading" constant="5" id="Qpn-kC-rPe"/>
- <constraint firstItem="95Z-EW-zCu" firstAttribute="leading" secondItem="bNt-1q-0gq" secondAttribute="leading" constant="5" id="U2t-bT-jMJ"/>
- <constraint firstItem="O66-zb-fMU" firstAttribute="top" secondItem="uoF-bN-D6f" secondAttribute="bottom" constant="15" id="UPk-Dg-8Qs"/>
- <constraint firstItem="fcE-nU-Tbx" firstAttribute="leading" secondItem="bNt-1q-0gq" secondAttribute="leading" id="Vqi-im-OCa"/>
- <constraint firstItem="Fgu-ng-Ebe" firstAttribute="centerY" secondItem="c1T-FK-9RQ" secondAttribute="centerY" id="Vtv-OX-8bc"/>
- <constraint firstItem="bNt-1q-0gq" firstAttribute="bottom" secondItem="O66-zb-fMU" secondAttribute="bottom" constant="10" id="Vxv-hW-3e8"/>
- <constraint firstItem="O66-zb-fMU" firstAttribute="width" secondItem="RmZ-GW-e6m" secondAttribute="width" multiplier="1:2" id="XZ6-ZF-k3d"/>
- <constraint firstItem="nE3-2I-4EH" firstAttribute="centerY" secondItem="0IT-zq-8Gq" secondAttribute="centerY" id="abH-bi-kX0"/>
- <constraint firstItem="0IT-zq-8Gq" firstAttribute="top" secondItem="m0f-4a-tje" secondAttribute="bottom" constant="5" id="bO5-5n-mwW"/>
- <constraint firstItem="uoF-bN-D6f" firstAttribute="top" secondItem="c1T-FK-9RQ" secondAttribute="bottom" constant="5" id="c6z-5e-rIe"/>
- <constraint firstItem="c1T-FK-9RQ" firstAttribute="leading" secondItem="hAT-OL-taa" secondAttribute="trailing" constant="5" id="fEF-Zl-vgu"/>
- <constraint firstItem="T4j-e7-ch6" firstAttribute="top" secondItem="0IT-zq-8Gq" secondAttribute="bottom" constant="5" id="fac-jr-ruC"/>
- <constraint firstItem="bNt-1q-0gq" firstAttribute="trailing" secondItem="nE3-2I-4EH" secondAttribute="trailing" constant="5" id="gYc-fB-nRo"/>
- <constraint firstItem="Fgu-ng-Ebe" firstAttribute="leading" secondItem="c1T-FK-9RQ" secondAttribute="trailing" constant="5" id="hir-e6-9RL"/>
- <constraint firstItem="c1T-FK-9RQ" firstAttribute="trailing" secondItem="0IT-zq-8Gq" secondAttribute="trailing" id="kqg-EC-Y1R"/>
- <constraint firstItem="m0f-4a-tje" firstAttribute="top" secondItem="fcE-nU-Tbx" secondAttribute="bottom" constant="5" id="pfO-QR-MHT"/>
- <constraint firstItem="q8M-ut-VCP" firstAttribute="leading" secondItem="O66-zb-fMU" secondAttribute="trailing" id="phJ-bO-sh5"/>
- <constraint firstItem="95Z-EW-zCu" firstAttribute="centerY" secondItem="0IT-zq-8Gq" secondAttribute="centerY" id="rhB-b5-LWD"/>
- <constraint firstItem="0IT-zq-8Gq" firstAttribute="leading" secondItem="95Z-EW-zCu" secondAttribute="trailing" constant="5" id="seq-49-wV6"/>
- <constraint firstItem="q8M-ut-VCP" firstAttribute="centerY" secondItem="O66-zb-fMU" secondAttribute="centerY" id="ybi-fP-tWg"/>
- <constraint firstItem="fcE-nU-Tbx" firstAttribute="top" secondItem="5zv-HD-DHw" secondAttribute="bottom" constant="5" id="zin-2K-5oc"/>
- </constraints>
- </view>
- </subviews>
- <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
- <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstAttribute="trailing" secondItem="RmZ-GW-e6m" secondAttribute="trailing" id="a4k-1N-nB1"/>
- <constraint firstItem="RmZ-GW-e6m" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="eMc-WH-kBX"/>
- <constraint firstItem="RmZ-GW-e6m" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="wcU-WY-CSf"/>
- </constraints>
- <point key="canvasLocation" x="25.5" y="51.5"/>
- </view>
- </objects>
- <resources>
- <image name="brush_C01.png" width="92" height="37"/>
- <image name="brush_C02.png" width="92" height="37"/>
- </resources>
- </document>
|