<?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> <device id="retina4_7" orientation="portrait"> <adaptation id="fullscreen"/> </device> <dependencies> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13174"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <customFonts key="customFonts"> <array key="PingFang.ttc"> <string>PingFangSC-Light</string> </array> </customFonts> <objects> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMSearchBar"> <connections> <outlet property="btnSearch" destination="5eA-Zh-WSA" id="2oH-sR-FdU"/> <outlet property="lbCount" destination="Ubr-e3-Jm7" id="Hf0-yE-Abz"/> <outlet property="logMarginLeft" destination="dXD-kX-Ydv" id="WCJ-o3-EgU"/> <outlet property="searchToLog" destination="2MI-wO-ITD" id="Csy-Qe-KIJ"/> <outlet property="textFieldWidth" destination="6eQ-57-UGj" id="Tfd-s2-jFa"/> <outlet property="tfSearch" destination="JWJ-L1-129" id="8JB-ha-C5M"/> <outlet property="vCancel" destination="Roy-5k-pwC" id="qKE-Cs-kht"/> <outlet property="vCount" destination="5wS-6U-5b0" id="Lm9-tB-xKL"/> <outlet property="vShopCar" destination="Q3a-L0-4Nr" id="gle-RC-pQZ"/> <outlet property="vView" destination="iN0-l3-epB" id="1wg-Dw-lMa"/> </connections> </placeholder> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <view contentMode="scaleToFill" id="iN0-l3-epB"> <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DoM-T9-tzd"> <rect key="frame" x="0.0" y="0.0" width="375" height="0.0"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <constraints> <constraint firstAttribute="height" id="tcd-zY-CfJ"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9Fg-do-aH3" userLabel="vContent"> <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <subviews> <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="im_logo" translatesAutoresizingMaskIntoConstraints="NO" id="GA3-Mh-Bf7"> <rect key="frame" x="20" y="10" width="135" height="24"/> <constraints> <constraint firstAttribute="height" constant="24" id="OVH-Wr-YVz"/> <constraint firstAttribute="width" constant="135" id="QC0-Gi-exh"/> </constraints> </imageView> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5eA-Zh-WSA" userLabel="btn_search"> <rect key="frame" x="281" y="11" width="22" height="22"/> <constraints> <constraint firstAttribute="height" constant="22" id="YVm-5A-E0B"/> <constraint firstAttribute="width" constant="22" id="qA1-hM-3dN"/> </constraints> <state key="normal" title="Button" image="btn_ nav_search"/> <connections> <action selector="onClickStartSearch:" destination="-1" eventType="touchUpInside" id="iJO-gx-H9Y"/> </connections> </button> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Q3a-L0-4Nr" userLabel="btn_shop_cart"> <rect key="frame" x="321" y="0.0" width="44" height="44"/> <constraints> <constraint firstAttribute="width" constant="44" id="i6C-gw-Whk"/> <constraint firstAttribute="height" constant="44" id="udG-13-lKC"/> </constraints> <fontDescription key="fontDescription" type="system" pointSize="12"/> <state key="normal" image="btn_ nav_shop cart"/> <connections> <action selector="onClickShopCar:" destination="-1" eventType="touchUpInside" id="p0V-gk-FEQ"/> </connections> </button> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5wS-6U-5b0" userLabel="vCount"> <rect key="frame" x="340" y="17" width="14" height="14"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ubr-e3-Jm7"> <rect key="frame" x="7" y="7" width="0.0" height="0.0"/> <accessibility key="accessibilityConfiguration"> <accessibilityTraits key="traits" staticText="YES" notEnabled="YES"/> </accessibility> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/> <accessibility key="accessibilityConfiguration"> <accessibilityTraits key="traits" notEnabled="YES"/> </accessibility> <constraints> <constraint firstItem="Ubr-e3-Jm7" firstAttribute="centerY" secondItem="5wS-6U-5b0" secondAttribute="centerY" id="3TN-qO-AEj"/> <constraint firstAttribute="width" constant="14" id="3Ut-9F-QpB"/> <constraint firstItem="Ubr-e3-Jm7" firstAttribute="centerX" secondItem="5wS-6U-5b0" secondAttribute="centerX" id="r7Z-3t-Fr9"/> <constraint firstAttribute="height" constant="14" id="w2H-UJ-PVu"/> </constraints> </view> <textField hidden="YES" opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="JWJ-L1-129"> <rect key="frame" x="313" y="11" width="230" height="22"/> <constraints> <constraint firstAttribute="width" constant="230" id="6eQ-57-UGj"/> <constraint firstAttribute="height" constant="22" id="ETE-xV-7uA"/> </constraints> <fontDescription key="fontDescription" type="system" pointSize="14"/> <textInputTraits key="textInputTraits"/> </textField> <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Roy-5k-pwC"> <rect key="frame" x="339" y="11" width="30" height="22"/> <constraints> <constraint firstAttribute="height" constant="22" id="WiB-qk-I4d"/> </constraints> <fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="12"/> <state key="normal" title="取消"> <color key="titleColor" red="0.15294117647058825" green="0.14901960784313725" blue="0.21176470588235294" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> </state> <connections> <action selector="onClickCancel:" destination="-1" eventType="touchUpInside" id="hI4-0V-DUD"/> </connections> </button> </subviews> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstItem="Roy-5k-pwC" firstAttribute="centerY" secondItem="9Fg-do-aH3" secondAttribute="centerY" id="0Kq-Hv-ut8"/> <constraint firstItem="5eA-Zh-WSA" firstAttribute="leading" secondItem="GA3-Mh-Bf7" secondAttribute="trailing" constant="126" id="2MI-wO-ITD"/> <constraint firstAttribute="trailing" secondItem="Q3a-L0-4Nr" secondAttribute="trailing" constant="10" id="6aT-d0-brx"/> <constraint firstItem="5wS-6U-5b0" firstAttribute="bottom" secondItem="Q3a-L0-4Nr" secondAttribute="bottom" constant="-13" id="9uX-IF-OGQ"/> <constraint firstItem="JWJ-L1-129" firstAttribute="leading" secondItem="5eA-Zh-WSA" secondAttribute="trailing" constant="10" id="CQV-mB-E9n"/> <constraint firstItem="5wS-6U-5b0" firstAttribute="trailing" secondItem="Q3a-L0-4Nr" secondAttribute="trailing" constant="-11" id="OSV-rl-liy"/> <constraint firstItem="GA3-Mh-Bf7" firstAttribute="centerY" secondItem="9Fg-do-aH3" secondAttribute="centerY" id="ZPt-Ye-CV1"/> <constraint firstItem="5eA-Zh-WSA" firstAttribute="centerY" secondItem="9Fg-do-aH3" secondAttribute="centerY" id="dIF-U4-Lxj"/> <constraint firstItem="GA3-Mh-Bf7" firstAttribute="leading" secondItem="9Fg-do-aH3" secondAttribute="leading" constant="20" id="dXD-kX-Ydv"/> <constraint firstItem="JWJ-L1-129" firstAttribute="centerY" secondItem="9Fg-do-aH3" secondAttribute="centerY" id="du2-O6-sXw"/> <constraint firstItem="Q3a-L0-4Nr" firstAttribute="centerY" secondItem="9Fg-do-aH3" secondAttribute="centerY" id="hqu-b7-cFl"/> <constraint firstAttribute="trailing" secondItem="Roy-5k-pwC" secondAttribute="trailing" constant="6" id="rl5-V4-3Qv"/> </constraints> </view> </subviews> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="bottom" secondItem="9Fg-do-aH3" secondAttribute="bottom" id="Irf-Eu-HZz"/> <constraint firstAttribute="trailing" secondItem="9Fg-do-aH3" secondAttribute="trailing" id="WiV-9o-qew"/> <constraint firstItem="9Fg-do-aH3" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="ZKG-cY-8cO"/> <constraint firstItem="DoM-T9-tzd" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="hlY-pE-sYP"/> <constraint firstItem="DoM-T9-tzd" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="iMh-jN-7jR"/> <constraint firstAttribute="trailing" secondItem="DoM-T9-tzd" secondAttribute="trailing" id="iwr-FN-dhi"/> <constraint firstItem="9Fg-do-aH3" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="vks-6k-vNk"/> </constraints> <nil key="simulatedStatusBarMetrics"/> <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> <point key="canvasLocation" x="227.5" y="200"/> </view> </objects> <resources> <image name="btn_ nav_search" width="22" height="22"/> <image name="btn_ nav_shop cart" width="21" height="22"/> <image name="im_logo" width="150" height="25"/> </resources> </document>