123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
- <dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <objects>
- <customObject id="-2" userLabel="File's Owner" customClass="ButtonDemoVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
- <connections>
- <outlet property="componentView" destination="NMO-q2-vVb" id="g7l-Ob-q8S"/>
- <outlet property="disabledButton" destination="i4d-QD-upg" id="vke-Wd-9FO"/>
- <outlet property="letfBox" destination="gVj-Fc-SAL" id="Des-cr-Ckv"/>
- <outlet property="onlyIconButton" destination="frJ-56-7CT" id="Y42-z2-0E9"/>
- <outlet property="showLeftIconButton" destination="DNo-RF-yR9" id="jGr-gY-e9l"/>
- <outlet property="showRightIconButton" destination="1Hp-Py-Q4D" id="vVt-EI-TIH"/>
- <outlet property="sizeComboBox" destination="s5g-4r-jzg" id="uJQ-im-5EB"/>
- <outlet property="typeComboBox" destination="AXH-Yf-Bps" id="Tkd-Ul-6Gv"/>
- <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
- <outlet property="viewHeight" destination="c2j-RP-ICW" id="wYs-5e-Mmd"/>
- <outlet property="viewWidth" destination="wKL-Qp-b1Q" id="AH7-Dy-2T1"/>
- </connections>
- </customObject>
- <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
- <customObject id="-3" userLabel="Application" customClass="NSObject"/>
- <customView id="Hz6-mo-xeY">
- <rect key="frame" x="0.0" y="0.0" width="592" height="395"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
- <subviews>
- <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="gVj-Fc-SAL">
- <rect key="frame" x="20" y="20" width="355" height="355"/>
- <view key="contentView" id="yMM-iK-OVf">
- <rect key="frame" x="1" y="1" width="353" height="353"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <customView translatesAutoresizingMaskIntoConstraints="NO" id="NMO-q2-vVb" customClass="ComponentButton" customModule="KMComponentLibrary">
- <rect key="frame" x="97" y="149" width="159" height="56"/>
- <constraints>
- <constraint firstAttribute="height" constant="56" id="c2j-RP-ICW"/>
- <constraint firstAttribute="width" constant="159" id="wKL-Qp-b1Q"/>
- </constraints>
- </customView>
- </subviews>
- <constraints>
- <constraint firstItem="NMO-q2-vVb" firstAttribute="centerX" secondItem="yMM-iK-OVf" secondAttribute="centerX" id="Qit-Hr-AJx"/>
- <constraint firstItem="NMO-q2-vVb" firstAttribute="centerY" secondItem="yMM-iK-OVf" secondAttribute="centerY" id="SUJ-il-viF"/>
- </constraints>
- </view>
- <constraints>
- <constraint firstAttribute="width" secondItem="gVj-Fc-SAL" secondAttribute="height" multiplier="1:1" id="a5K-lB-Z8M"/>
- </constraints>
- </box>
- <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="cMz-rn-6IT">
- <rect key="frame" x="395" y="20" width="177" height="355"/>
- <view key="contentView" id="C8A-65-Sbf">
- <rect key="frame" x="1" y="1" width="175" height="353"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="frJ-56-7CT">
- <rect key="frame" x="18" y="132" width="83" height="18"/>
- <buttonCell key="cell" type="check" title="Only icon" bezelStyle="regularSquare" imagePosition="left" inset="2" id="n8f-ya-rME">
- <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
- <font key="font" metaFont="system"/>
- </buttonCell>
- <connections>
- <action selector="onlyIconAction:" target="-2" id="4or-Ri-XbD"/>
- </connections>
- </button>
- <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DNo-RF-yR9">
- <rect key="frame" x="18" y="96" width="112" height="18"/>
- <buttonCell key="cell" type="check" title="Show left icon" bezelStyle="regularSquare" imagePosition="left" inset="2" id="S6I-FV-Aqk">
- <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
- <font key="font" metaFont="system"/>
- </buttonCell>
- <connections>
- <action selector="showLeftIconAction:" target="-2" id="BBR-TP-XJR"/>
- </connections>
- </button>
- <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1Hp-Py-Q4D">
- <rect key="frame" x="18" y="60" width="120" height="18"/>
- <buttonCell key="cell" type="check" title="Show right icon" bezelStyle="regularSquare" imagePosition="left" inset="2" id="aTh-Gs-N0Q">
- <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
- <font key="font" metaFont="system"/>
- </buttonCell>
- <connections>
- <action selector="showRightIconAction:" target="-2" id="v23-3z-WxD"/>
- </connections>
- </button>
- <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="guu-gb-wpT">
- <rect key="frame" x="18" y="207" width="34" height="16"/>
- <textFieldCell key="cell" lineBreakMode="clipping" title="Size:" id="5bn-qK-MtP">
- <font key="font" metaFont="system"/>
- <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
- </textFieldCell>
- </textField>
- <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="bqU-wQ-HMR">
- <rect key="frame" x="18" y="247" width="38" height="16"/>
- <textFieldCell key="cell" lineBreakMode="clipping" title="Type:" id="HBT-sg-Lou">
- <font key="font" metaFont="system"/>
- <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
- </textFieldCell>
- </textField>
- <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="i4d-QD-upg">
- <rect key="frame" x="18" y="168" width="79" height="18"/>
- <buttonCell key="cell" type="check" title="Disabled" bezelStyle="regularSquare" imagePosition="left" inset="2" id="P3F-BR-V0T">
- <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
- <font key="font" metaFont="system"/>
- </buttonCell>
- <connections>
- <action selector="stateAction:" target="-2" id="kGE-cZ-QTf"/>
- </connections>
- </button>
- <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="AXH-Yf-Bps">
- <rect key="frame" x="63" y="243" width="105" height="23"/>
- <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="Primary" drawsBackground="YES" completes="NO" numberOfVisibleItems="5" id="MHu-99-RZX">
- <font key="font" metaFont="system"/>
- <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
- <objectValues>
- <string>Primary</string>
- <string>Secondary</string>
- <string>Default (Tertiary)</string>
- <string>Gray</string>
- <string>Text Primary</string>
- <string>Text Gray</string>
- <string>Text Gray Opacity</string>
- <string>Text Gray Low</string>
- <string>Danger</string>
- <string>Danger Ghost</string>
- <string>Text Danger</string>
- <string>White</string>
- <string>White Ghost</string>
- <string>Text White</string>
- <string>Link White</string>
- <string>Link Accent</string>
- <string>Link Gray</string>
- </objectValues>
- </comboBoxCell>
- <connections>
- <action selector="typeAction:" target="-2" id="r4q-9z-klk"/>
- </connections>
- </comboBox>
- <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="s5g-4r-jzg">
- <rect key="frame" x="59" y="203" width="109" height="23"/>
- <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="XL" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="4qR-B4-5VB">
- <font key="font" metaFont="system"/>
- <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
- <objectValues>
- <string>XL</string>
- <string>L</string>
- <string>M</string>
- <string>S</string>
- <string>XS</string>
- <string>XXS</string>
- <string>XXXS</string>
- </objectValues>
- </comboBoxCell>
- <connections>
- <action selector="sizeAction:" target="-2" id="9C4-IS-1oN"/>
- </connections>
- </comboBox>
- </subviews>
- <constraints>
- <constraint firstItem="guu-gb-wpT" firstAttribute="leading" secondItem="C8A-65-Sbf" secondAttribute="leading" constant="20" id="0jG-Jf-Wl2"/>
- <constraint firstItem="1Hp-Py-Q4D" firstAttribute="leading" secondItem="C8A-65-Sbf" secondAttribute="leading" constant="20" id="4pd-xr-ptl"/>
- <constraint firstItem="i4d-QD-upg" firstAttribute="top" secondItem="s5g-4r-jzg" secondAttribute="bottom" constant="20" id="5he-MZ-8rH"/>
- <constraint firstItem="DNo-RF-yR9" firstAttribute="top" secondItem="frJ-56-7CT" secondAttribute="bottom" constant="20" id="6YU-qY-bi7"/>
- <constraint firstItem="s5g-4r-jzg" firstAttribute="top" secondItem="AXH-Yf-Bps" secondAttribute="bottom" constant="20" id="6n2-TW-ewf"/>
- <constraint firstItem="s5g-4r-jzg" firstAttribute="leading" secondItem="guu-gb-wpT" secondAttribute="trailing" constant="10" id="7In-JX-5DR"/>
- <constraint firstAttribute="trailing" secondItem="AXH-Yf-Bps" secondAttribute="trailing" constant="10" id="AYy-TP-A2E"/>
- <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="i4d-QD-upg" secondAttribute="trailing" constant="20" symbolic="YES" id="Bxz-g5-Ubl"/>
- <constraint firstItem="frJ-56-7CT" firstAttribute="top" secondItem="i4d-QD-upg" secondAttribute="bottom" constant="20" id="HTj-Iv-hKP"/>
- <constraint firstItem="frJ-56-7CT" firstAttribute="leading" secondItem="C8A-65-Sbf" secondAttribute="leading" constant="20" id="I6m-hY-6l6"/>
- <constraint firstItem="1Hp-Py-Q4D" firstAttribute="top" secondItem="DNo-RF-yR9" secondAttribute="bottom" constant="20" id="KnK-fX-F9L"/>
- <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="DNo-RF-yR9" secondAttribute="trailing" constant="20" symbolic="YES" id="MJa-7r-gFs"/>
- <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="1Hp-Py-Q4D" secondAttribute="trailing" constant="20" symbolic="YES" id="RRC-E7-ySz"/>
- <constraint firstItem="AXH-Yf-Bps" firstAttribute="centerY" secondItem="bqU-wQ-HMR" secondAttribute="centerY" id="fVR-UJ-VsO"/>
- <constraint firstItem="DNo-RF-yR9" firstAttribute="leading" secondItem="C8A-65-Sbf" secondAttribute="leading" constant="20" id="hbh-45-p7M"/>
- <constraint firstItem="s5g-4r-jzg" firstAttribute="centerY" secondItem="guu-gb-wpT" secondAttribute="centerY" id="oSp-V9-Rik"/>
- <constraint firstItem="bqU-wQ-HMR" firstAttribute="leading" secondItem="C8A-65-Sbf" secondAttribute="leading" constant="20" id="rN9-55-qPc"/>
- <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="frJ-56-7CT" secondAttribute="trailing" constant="20" symbolic="YES" id="rbO-5n-a68"/>
- <constraint firstItem="i4d-QD-upg" firstAttribute="leading" secondItem="C8A-65-Sbf" secondAttribute="leading" constant="20" id="sEX-9E-pmL"/>
- <constraint firstAttribute="trailing" secondItem="s5g-4r-jzg" secondAttribute="trailing" constant="10" id="vtJ-UV-GBj"/>
- <constraint firstItem="AXH-Yf-Bps" firstAttribute="leading" secondItem="bqU-wQ-HMR" secondAttribute="trailing" constant="10" id="xqK-La-Vly"/>
- </constraints>
- </view>
- <constraints>
- <constraint firstItem="i4d-QD-upg" firstAttribute="centerY" secondItem="cMz-rn-6IT" secondAttribute="centerY" id="S8K-fK-RTp"/>
- </constraints>
- </box>
- </subviews>
- <constraints>
- <constraint firstItem="cMz-rn-6IT" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="5IL-Hz-fZX"/>
- <constraint firstAttribute="trailing" secondItem="cMz-rn-6IT" secondAttribute="trailing" constant="20" id="PEc-yI-QHC"/>
- <constraint firstAttribute="bottom" secondItem="cMz-rn-6IT" secondAttribute="bottom" constant="20" id="UH1-6T-gB5"/>
- <constraint firstItem="cMz-rn-6IT" firstAttribute="leading" secondItem="gVj-Fc-SAL" secondAttribute="trailing" constant="20" id="XXi-aA-Ic8"/>
- <constraint firstItem="gVj-Fc-SAL" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="am1-gM-ueL"/>
- <constraint firstAttribute="bottom" secondItem="gVj-Fc-SAL" secondAttribute="bottom" constant="20" id="f4F-Kc-fEf"/>
- <constraint firstItem="gVj-Fc-SAL" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="kwr-FB-XCa"/>
- </constraints>
- <point key="canvasLocation" x="182" y="175.5"/>
- </customView>
- </objects>
- </document>
|