1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
- <device id="retina6_12" orientation="portrait" appearance="light"/>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <view clipsSubviews="YES" contentMode="scaleToFill" id="Mgf-Tm-lzt" customClass="SearchView" customModule="ADHTuanCan" customModuleProvider="target">
- <rect key="frame" x="0.0" y="0.0" width="631" height="193"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <view alpha="0.29999999999999999" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HmM-qW-0fg">
- <rect key="frame" x="0.0" y="0.0" width="631" height="193"/>
- <color key="backgroundColor" red="0.63137254899999995" green="0.66274509800000003" blue="0.78039215689999997" alpha="1" colorSpace="calibratedRGB"/>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
- <color key="value" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
- </userDefinedRuntimeAttribute>
- <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
- <real key="value" value="0.5"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </view>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="new_search_gray" translatesAutoresizingMaskIntoConstraints="NO" id="IDN-Pe-xUJ">
- <rect key="frame" x="12" y="84.666666666666671" width="24" height="24"/>
- </imageView>
- <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="搜索你想吃的..." textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="MK7-I8-h9y">
- <rect key="frame" x="46" y="0.0" width="585" height="193"/>
- <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- </textField>
- </subviews>
- <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstItem="MK7-I8-h9y" firstAttribute="leading" secondItem="IDN-Pe-xUJ" secondAttribute="trailing" constant="10" id="Cdq-9s-wdh"/>
- <constraint firstItem="IDN-Pe-xUJ" firstAttribute="centerY" secondItem="Mgf-Tm-lzt" secondAttribute="centerY" id="JYS-us-hRV"/>
- <constraint firstAttribute="bottom" secondItem="HmM-qW-0fg" secondAttribute="bottom" id="PBK-TN-0QZ"/>
- <constraint firstItem="MK7-I8-h9y" firstAttribute="top" secondItem="Mgf-Tm-lzt" secondAttribute="top" id="S0l-qc-lR7"/>
- <constraint firstAttribute="trailing" secondItem="MK7-I8-h9y" secondAttribute="trailing" id="VHg-K8-ct4"/>
- <constraint firstAttribute="trailing" secondItem="HmM-qW-0fg" secondAttribute="trailing" id="YYr-uB-qvY"/>
- <constraint firstItem="IDN-Pe-xUJ" firstAttribute="leading" secondItem="Mgf-Tm-lzt" secondAttribute="leading" constant="12" id="d5I-rk-1pm"/>
- <constraint firstItem="HmM-qW-0fg" firstAttribute="leading" secondItem="Mgf-Tm-lzt" secondAttribute="leading" id="gJ2-UQ-nqa"/>
- <constraint firstAttribute="bottom" secondItem="MK7-I8-h9y" secondAttribute="bottom" id="iCe-r4-UKe"/>
- <constraint firstItem="HmM-qW-0fg" firstAttribute="top" secondItem="Mgf-Tm-lzt" secondAttribute="top" id="kB2-WN-6Tj"/>
- <constraint firstItem="IDN-Pe-xUJ" firstAttribute="centerY" secondItem="Mgf-Tm-lzt" secondAttribute="centerY" id="ttp-J4-Fca"/>
- </constraints>
- <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="16"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <outlet property="searchField" destination="MK7-I8-h9y" id="87x-Jm-vTP"/>
- </connections>
- <point key="canvasLocation" x="144.27480916030532" y="-205.28169014084509"/>
- </view>
- </objects>
- <resources>
- <image name="new_search_gray" width="24" height="24"/>
- </resources>
- </document>
|