|
@@ -0,0 +1,233 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
|
|
+ <dependencies>
|
|
|
+ <deployment identifier="macosx"/>
|
|
|
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
|
|
|
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
|
|
+ </dependencies>
|
|
|
+ <objects>
|
|
|
+ <customObject id="-2" userLabel="File's Owner" customClass="KMSearchViewController">
|
|
|
+ <connections>
|
|
|
+ <outlet property="box" destination="jTx-lq-IMO" id="3np-QT-RBm"/>
|
|
|
+ <outlet property="emptyBox" destination="YP3-hM-jIu" id="76W-OU-rpD"/>
|
|
|
+ <outlet property="emptySearchLabel" destination="RZV-VM-ubG" id="P1g-lE-xp0"/>
|
|
|
+ <outlet property="pageLabel" destination="DG6-KM-fPE" id="WCW-t2-N6y"/>
|
|
|
+ <outlet property="searchBox" destination="m5j-WZ-WP4" id="cvH-DW-gmp"/>
|
|
|
+ <outlet property="searchDomeButton" destination="Sot-lU-418" id="nTG-J5-bHW"/>
|
|
|
+ <outlet property="searchField" destination="Exf-lV-10v" id="HAb-dG-HXv"/>
|
|
|
+ <outlet property="searchLabel" destination="ZGS-QS-aFB" id="Uq1-gi-5tY"/>
|
|
|
+ <outlet property="searchResultsLabel" destination="avX-Sl-7dw" id="U6D-o9-NG9"/>
|
|
|
+ <outlet property="searchResultsView" destination="hP4-NA-Ala" id="srK-Ds-q65"/>
|
|
|
+ <outlet property="searchTips" destination="LV8-kC-pPy" id="vhL-vd-TBZ"/>
|
|
|
+ <outlet property="segmentedControl" destination="2OM-I5-WuT" id="hoB-xe-Aav"/>
|
|
|
+ <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
|
|
|
+ </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="240" height="513"/>
|
|
|
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
|
+ <subviews>
|
|
|
+ <searchField wantsLayer="YES" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Exf-lV-10v">
|
|
|
+ <rect key="frame" x="16" y="452" width="164" height="20"/>
|
|
|
+ <searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="border" usesSingleLineMode="YES" id="So1-aF-t1m">
|
|
|
+ <font key="font" metaFont="system"/>
|
|
|
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
|
+ <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
|
+ </searchFieldCell>
|
|
|
+ </searchField>
|
|
|
+ <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="jTx-lq-IMO">
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="240" height="422"/>
|
|
|
+ <view key="contentView" id="Hlh-Hl-xR6">
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="240" height="422"/>
|
|
|
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
|
+ </view>
|
|
|
+ <color key="fillColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
|
|
|
+ </box>
|
|
|
+ <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="YP3-hM-jIu">
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="240" height="422"/>
|
|
|
+ <view key="contentView" id="fz0-9N-dbN">
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="240" height="422"/>
|
|
|
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
|
+ <subviews>
|
|
|
+ <customView translatesAutoresizingMaskIntoConstraints="NO" id="Vwh-uE-n99">
|
|
|
+ <rect key="frame" x="-5" y="125" width="250" height="173"/>
|
|
|
+ <subviews>
|
|
|
+ <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="fCc-bq-sMR">
|
|
|
+ <rect key="frame" x="55" y="33" width="140" height="140"/>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstAttribute="height" constant="140" id="1Zc-3B-E9k"/>
|
|
|
+ <constraint firstAttribute="width" constant="140" id="C42-wv-uSe"/>
|
|
|
+ </constraints>
|
|
|
+ <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameEmptySearch" id="Fgf-hM-PPL"/>
|
|
|
+ </imageView>
|
|
|
+ <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="RZV-VM-ubG">
|
|
|
+ <rect key="frame" x="8" y="0.0" width="234" height="17"/>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstAttribute="width" constant="230" id="Mx1-pb-NMh"/>
|
|
|
+ </constraints>
|
|
|
+ <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="center" title="No Results" id="5Sf-lz-ZAg">
|
|
|
+ <font key="font" metaFont="systemSemibold" size="14"/>
|
|
|
+ <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
|
|
|
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
|
+ </textFieldCell>
|
|
|
+ </textField>
|
|
|
+ </subviews>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="RZV-VM-ubG" secondAttribute="trailing" constant="10" id="C59-AL-Mzh"/>
|
|
|
+ <constraint firstItem="RZV-VM-ubG" firstAttribute="leading" secondItem="Vwh-uE-n99" secondAttribute="leading" constant="10" id="I0V-zQ-d37"/>
|
|
|
+ <constraint firstAttribute="bottom" secondItem="RZV-VM-ubG" secondAttribute="bottom" id="Tgc-kv-esu"/>
|
|
|
+ <constraint firstItem="RZV-VM-ubG" firstAttribute="top" secondItem="fCc-bq-sMR" secondAttribute="bottom" constant="16" id="af2-pO-ZDN"/>
|
|
|
+ <constraint firstItem="fCc-bq-sMR" firstAttribute="centerX" secondItem="Vwh-uE-n99" secondAttribute="centerX" id="eQi-pW-kKz"/>
|
|
|
+ <constraint firstItem="RZV-VM-ubG" firstAttribute="centerX" secondItem="Vwh-uE-n99" secondAttribute="centerX" id="ep9-Ce-MPS"/>
|
|
|
+ <constraint firstItem="fCc-bq-sMR" firstAttribute="top" secondItem="Vwh-uE-n99" secondAttribute="top" id="kvQ-Cb-2Fg"/>
|
|
|
+ </constraints>
|
|
|
+ </customView>
|
|
|
+ </subviews>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstItem="Vwh-uE-n99" firstAttribute="centerX" secondItem="fz0-9N-dbN" secondAttribute="centerX" id="GZ1-XW-XhO"/>
|
|
|
+ <constraint firstItem="Vwh-uE-n99" firstAttribute="centerY" secondItem="fz0-9N-dbN" secondAttribute="centerY" id="v8f-Uo-CfG"/>
|
|
|
+ </constraints>
|
|
|
+ </view>
|
|
|
+ <color key="borderColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
|
|
|
+ <color key="fillColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
|
|
|
+ </box>
|
|
|
+ <customView translatesAutoresizingMaskIntoConstraints="NO" id="2OM-I5-WuT" customClass="KMSegmentedControl">
|
|
|
+ <rect key="frame" x="184" y="480" width="50" height="25"/>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstAttribute="width" constant="50" id="4nF-ia-dJx"/>
|
|
|
+ <constraint firstAttribute="height" constant="25" id="LzF-7O-4Fm"/>
|
|
|
+ </constraints>
|
|
|
+ </customView>
|
|
|
+ <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZGS-QS-aFB">
|
|
|
+ <rect key="frame" x="14" y="484" width="40" height="17"/>
|
|
|
+ <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="Eil-0G-5lp">
|
|
|
+ <font key="font" metaFont="system" size="14"/>
|
|
|
+ <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
|
|
+ <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
|
+ </textFieldCell>
|
|
|
+ </textField>
|
|
|
+ <box boxType="custom" borderWidth="0.0" cornerRadius="1" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="m5j-WZ-WP4" customClass="KMBox">
|
|
|
+ <rect key="frame" x="16" y="452" width="208" height="20"/>
|
|
|
+ <view key="contentView" id="zoj-cx-Qv1">
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="208" height="20"/>
|
|
|
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
|
+ <subviews>
|
|
|
+ <customView translatesAutoresizingMaskIntoConstraints="NO" id="AuZ-iT-8Sc">
|
|
|
+ <rect key="frame" x="79" y="0.0" width="50" height="20"/>
|
|
|
+ <subviews>
|
|
|
+ <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="F6A-U5-mv7">
|
|
|
+ <rect key="frame" x="0.0" y="2" width="16" height="16"/>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstAttribute="height" constant="16" id="Cq1-jy-gdR"/>
|
|
|
+ <constraint firstAttribute="width" constant="16" id="akO-nn-kuV"/>
|
|
|
+ </constraints>
|
|
|
+ <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameUXIconBtnSearchbarSearch" id="3va-Z6-CLg"/>
|
|
|
+ </imageView>
|
|
|
+ <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LV8-kC-pPy">
|
|
|
+ <rect key="frame" x="15" y="2" width="37" height="16"/>
|
|
|
+ <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="8F8-Ba-XlP">
|
|
|
+ <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>
|
|
|
+ </subviews>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstItem="LV8-kC-pPy" firstAttribute="leading" secondItem="F6A-U5-mv7" secondAttribute="trailing" constant="1" id="ONS-wa-eK6"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="LV8-kC-pPy" secondAttribute="trailing" id="Y6y-4l-exs"/>
|
|
|
+ <constraint firstItem="F6A-U5-mv7" firstAttribute="leading" secondItem="AuZ-iT-8Sc" secondAttribute="leading" id="hwu-Jp-he1"/>
|
|
|
+ <constraint firstItem="F6A-U5-mv7" firstAttribute="centerY" secondItem="AuZ-iT-8Sc" secondAttribute="centerY" id="oRV-Me-PUb"/>
|
|
|
+ <constraint firstItem="LV8-kC-pPy" firstAttribute="centerY" secondItem="AuZ-iT-8Sc" secondAttribute="centerY" id="vZX-iJ-SG0"/>
|
|
|
+ </constraints>
|
|
|
+ </customView>
|
|
|
+ </subviews>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstItem="AuZ-iT-8Sc" firstAttribute="top" secondItem="zoj-cx-Qv1" secondAttribute="top" id="52i-Ye-JVI"/>
|
|
|
+ <constraint firstAttribute="bottom" secondItem="AuZ-iT-8Sc" secondAttribute="bottom" id="5Ui-6N-ba1"/>
|
|
|
+ </constraints>
|
|
|
+ </view>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstItem="AuZ-iT-8Sc" firstAttribute="centerX" secondItem="m5j-WZ-WP4" secondAttribute="centerX" id="PPE-UO-t8C"/>
|
|
|
+ </constraints>
|
|
|
+ </box>
|
|
|
+ <customView translatesAutoresizingMaskIntoConstraints="NO" id="hP4-NA-Ala">
|
|
|
+ <rect key="frame" x="16" y="430" width="208" height="14"/>
|
|
|
+ <subviews>
|
|
|
+ <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="avX-Sl-7dw">
|
|
|
+ <rect key="frame" x="-2" y="0.0" width="33" height="14"/>
|
|
|
+ <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="aJC-Hn-dib">
|
|
|
+ <font key="font" metaFont="smallSystem"/>
|
|
|
+ <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
|
|
+ <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
|
+ </textFieldCell>
|
|
|
+ </textField>
|
|
|
+ <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DG6-KM-fPE">
|
|
|
+ <rect key="frame" x="177" y="0.0" width="33" height="14"/>
|
|
|
+ <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="kMU-mK-L5o">
|
|
|
+ <font key="font" metaFont="smallSystem"/>
|
|
|
+ <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
|
|
+ <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
|
+ </textFieldCell>
|
|
|
+ </textField>
|
|
|
+ </subviews>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstItem="avX-Sl-7dw" firstAttribute="leading" secondItem="hP4-NA-Ala" secondAttribute="leading" id="CNl-c5-s1P"/>
|
|
|
+ <constraint firstItem="DG6-KM-fPE" firstAttribute="centerY" secondItem="avX-Sl-7dw" secondAttribute="centerY" id="XAZ-BC-Zau"/>
|
|
|
+ <constraint firstAttribute="bottom" secondItem="avX-Sl-7dw" secondAttribute="bottom" id="bKj-K9-CUH"/>
|
|
|
+ <constraint firstItem="avX-Sl-7dw" firstAttribute="top" secondItem="hP4-NA-Ala" secondAttribute="top" id="f4d-IP-x9i"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="DG6-KM-fPE" secondAttribute="trailing" id="uCD-1a-2mT"/>
|
|
|
+ </constraints>
|
|
|
+ </customView>
|
|
|
+ <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Sot-lU-418">
|
|
|
+ <rect key="frame" x="188" y="452" width="36" height="20"/>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstAttribute="height" constant="20" id="bAq-jA-d1x"/>
|
|
|
+ <constraint firstAttribute="width" constant="36" id="nWW-zz-pQ3"/>
|
|
|
+ </constraints>
|
|
|
+ <buttonCell key="cell" type="square" title="Button" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="ueG-bM-doV">
|
|
|
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
|
+ <font key="font" metaFont="cellTitle"/>
|
|
|
+ </buttonCell>
|
|
|
+ <connections>
|
|
|
+ <action selector="searchDomeButtonAtion:" target="-2" id="6wa-gN-8qu"/>
|
|
|
+ </connections>
|
|
|
+ </button>
|
|
|
+ </subviews>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstItem="hP4-NA-Ala" firstAttribute="top" secondItem="Exf-lV-10v" secondAttribute="bottom" constant="8" id="1Kg-bg-LGr"/>
|
|
|
+ <constraint firstItem="hP4-NA-Ala" firstAttribute="trailing" secondItem="m5j-WZ-WP4" secondAttribute="trailing" id="4if-ph-rEL"/>
|
|
|
+ <constraint firstItem="Exf-lV-10v" firstAttribute="top" secondItem="2OM-I5-WuT" secondAttribute="bottom" constant="8" id="Gpq-6K-sPq"/>
|
|
|
+ <constraint firstItem="YP3-hM-jIu" firstAttribute="centerX" secondItem="jTx-lq-IMO" secondAttribute="centerX" id="I0r-BH-fx2"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="jTx-lq-IMO" secondAttribute="trailing" id="OKR-iq-2Yo"/>
|
|
|
+ <constraint firstItem="Sot-lU-418" firstAttribute="leading" secondItem="Exf-lV-10v" secondAttribute="trailing" constant="8" id="PHH-tq-U24"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="m5j-WZ-WP4" secondAttribute="trailing" constant="16" id="RpE-ng-ElP"/>
|
|
|
+ <constraint firstItem="ZGS-QS-aFB" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="16" id="SOD-0k-NPp"/>
|
|
|
+ <constraint firstItem="YP3-hM-jIu" firstAttribute="height" secondItem="jTx-lq-IMO" secondAttribute="height" id="Swr-lv-cAz"/>
|
|
|
+ <constraint firstItem="m5j-WZ-WP4" firstAttribute="leading" secondItem="Exf-lV-10v" secondAttribute="leading" id="Vnk-Pc-Nhr"/>
|
|
|
+ <constraint firstItem="hP4-NA-Ala" firstAttribute="leading" secondItem="m5j-WZ-WP4" secondAttribute="leading" id="Wgl-cP-RDF"/>
|
|
|
+ <constraint firstItem="m5j-WZ-WP4" firstAttribute="top" secondItem="Exf-lV-10v" secondAttribute="top" id="Wm2-5T-Veu"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="Sot-lU-418" secondAttribute="trailing" constant="16" id="XMf-el-u9F"/>
|
|
|
+ <constraint firstItem="2OM-I5-WuT" firstAttribute="centerY" secondItem="ZGS-QS-aFB" secondAttribute="centerY" id="Z3A-Y9-HK5"/>
|
|
|
+ <constraint firstItem="2OM-I5-WuT" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="8" id="d8L-Cb-uC8"/>
|
|
|
+ <constraint firstItem="YP3-hM-jIu" firstAttribute="width" secondItem="jTx-lq-IMO" secondAttribute="width" id="g2b-zR-cbj"/>
|
|
|
+ <constraint firstItem="Sot-lU-418" firstAttribute="centerY" secondItem="Exf-lV-10v" secondAttribute="centerY" id="gac-i5-Jlm"/>
|
|
|
+ <constraint firstItem="m5j-WZ-WP4" firstAttribute="top" secondItem="2OM-I5-WuT" secondAttribute="bottom" constant="8" id="gbI-es-zpr"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="2OM-I5-WuT" secondAttribute="trailing" constant="6" id="o9z-IY-CCJ"/>
|
|
|
+ <constraint firstItem="jTx-lq-IMO" firstAttribute="top" secondItem="hP4-NA-Ala" secondAttribute="bottom" constant="8" id="oi4-Ow-iIw"/>
|
|
|
+ <constraint firstItem="Exf-lV-10v" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="16" id="qE5-qt-cCi"/>
|
|
|
+ <constraint firstItem="jTx-lq-IMO" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="ski-kz-g2S"/>
|
|
|
+ <constraint firstItem="m5j-WZ-WP4" firstAttribute="bottom" secondItem="Exf-lV-10v" secondAttribute="bottom" id="slj-io-4Ku"/>
|
|
|
+ <constraint firstItem="YP3-hM-jIu" firstAttribute="centerY" secondItem="jTx-lq-IMO" secondAttribute="centerY" id="vqG-Le-4nc"/>
|
|
|
+ <constraint firstAttribute="bottom" secondItem="jTx-lq-IMO" secondAttribute="bottom" id="yHi-h2-Tme"/>
|
|
|
+ </constraints>
|
|
|
+ <point key="canvasLocation" x="-17" y="129.5"/>
|
|
|
+ </customView>
|
|
|
+ <userDefaultsController representsSharedInstance="YES" id="vA0-OE-D4s"/>
|
|
|
+ </objects>
|
|
|
+ <resources>
|
|
|
+ <image name="KMImageNameEmptySearch" width="140" height="140"/>
|
|
|
+ <image name="KMImageNameUXIconBtnSearchbarSearch" width="16" height="16"/>
|
|
|
+ </resources>
|
|
|
+</document>
|