杨锴
2024-08-28 611f271e03e9ff2b5c32a9bbb2e3eb719c178df5
XQMuse/Root/Home/VC/SearchVC.xib
@@ -1,22 +1,150 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13142" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
    <device id="retina6_12" orientation="portrait" appearance="light"/>
    <dependencies>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12042"/>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22685"/>
        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
        <capability name="System colors in document resources" minToolsVersion="11.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="SearchVC" customModuleProvider="target">
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SearchVC" customModule="XQMuse" customModuleProvider="target">
            <connections>
                <outlet property="cacheSearchCollectionView" destination="hyl-1O-IfF" id="xLr-Xr-lJL"/>
                <outlet property="cacheSearchHei" destination="5YE-JH-tVc" id="ktS-NR-z7Y"/>
                <outlet property="tableView" destination="RTG-Tg-r7D" id="pq2-Aa-jvq"/>
                <outlet property="tf_search" destination="Rbv-zT-iOu" id="Dxb-Mb-ezs"/>
                <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="375" height="667"/>
            <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
            <subviews>
                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FTy-4y-V0e">
                    <rect key="frame" x="20" y="80.666666666666671" width="307.66666666666669" height="42.333333333333329"/>
                    <subviews>
                        <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_search" translatesAutoresizingMaskIntoConstraints="NO" id="jTH-Wd-BEv">
                            <rect key="frame" x="15.666666666666666" y="10" width="22.666666666666679" height="22"/>
                        </imageView>
                        <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入冥想搜索内容" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Rbv-zT-iOu">
                            <rect key="frame" x="47.666666666666671" y="0.0" width="250.33333333333331" height="42.333333333333336"/>
                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
                            <textInputTraits key="textInputTraits"/>
                        </textField>
                    </subviews>
                    <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    <constraints>
                        <constraint firstItem="Rbv-zT-iOu" firstAttribute="leading" secondItem="jTH-Wd-BEv" secondAttribute="trailing" constant="9.5" id="28B-5h-Gf0"/>
                        <constraint firstItem="Rbv-zT-iOu" firstAttribute="top" secondItem="FTy-4y-V0e" secondAttribute="top" id="FO9-wS-tvm"/>
                        <constraint firstAttribute="height" constant="42.5" id="JmV-rN-U4v"/>
                        <constraint firstItem="jTH-Wd-BEv" firstAttribute="leading" secondItem="FTy-4y-V0e" secondAttribute="leading" constant="15.5" id="Rv0-Mq-8Vn"/>
                        <constraint firstItem="jTH-Wd-BEv" firstAttribute="centerY" secondItem="FTy-4y-V0e" secondAttribute="centerY" id="cuv-cn-Yjc"/>
                        <constraint firstAttribute="trailing" secondItem="Rbv-zT-iOu" secondAttribute="trailing" constant="9.5" id="kNG-PP-yby"/>
                        <constraint firstAttribute="bottom" secondItem="Rbv-zT-iOu" secondAttribute="bottom" id="vBZ-Pt-EWt"/>
                    </constraints>
                    <userDefinedRuntimeAttributes>
                        <userDefinedRuntimeAttribute type="boolean" keyPath="ld_maskToBoundsXIB" value="YES"/>
                        <userDefinedRuntimeAttribute type="number" keyPath="ld_cornerRadiusXIB">
                            <real key="value" value="20.25"/>
                        </userDefinedRuntimeAttribute>
                    </userDefinedRuntimeAttributes>
                </view>
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ccy-Na-ksY">
                    <rect key="frame" x="327.66666666666669" y="85.333333333333329" width="65.333333333333314" height="33"/>
                    <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                    <state key="normal" title="搜索">
                        <color key="titleColor" red="0.15686274509803921" green="0.15686274509803921" blue="0.15686274509803921" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    </state>
                    <connections>
                        <action selector="searchAction:" destination="-1" eventType="touchUpInside" id="LuL-1c-wui"/>
                    </connections>
                </button>
                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="历史搜索" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gQh-cp-6ml">
                    <rect key="frame" x="24" y="156" width="69.333333333333329" height="16"/>
                    <constraints>
                        <constraint firstAttribute="height" constant="16" id="qdH-3T-iMm"/>
                    </constraints>
                    <fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
                    <color key="textColor" red="0.15686274509803921" green="0.15686274509803921" blue="0.15686274509803921" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    <nil key="highlightedColor"/>
                </label>
                <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="hyl-1O-IfF">
                    <rect key="frame" x="0.0" y="187" width="393" height="10"/>
                    <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    <constraints>
                        <constraint firstAttribute="height" constant="10" id="5YE-JH-tVc"/>
                    </constraints>
                    <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="Jbh-9d-Wrb">
                        <size key="itemSize" width="128" height="128"/>
                        <size key="headerReferenceSize" width="0.0" height="0.0"/>
                        <size key="footerReferenceSize" width="0.0" height="0.0"/>
                        <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
                    </collectionViewFlowLayout>
                </collectionView>
                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="热门搜索" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mda-xm-ljU">
                    <rect key="frame" x="24" y="245.66666666666666" width="69.333333333333329" height="15.999999999999972"/>
                    <constraints>
                        <constraint firstAttribute="height" constant="16" id="WZa-u0-Fx3"/>
                    </constraints>
                    <fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
                    <color key="textColor" red="0.15686274510000001" green="0.15686274510000001" blue="0.15686274510000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    <nil key="highlightedColor"/>
                </label>
                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="U44-7x-wSJ">
                    <rect key="frame" x="19.666666666666657" y="283" width="354" height="385.66666666666674"/>
                    <subviews>
                        <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bg_search" translatesAutoresizingMaskIntoConstraints="NO" id="Qns-9x-Owv">
                            <rect key="frame" x="0.0" y="0.0" width="354" height="385.66666666666669"/>
                        </imageView>
                        <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="RTG-Tg-r7D">
                            <rect key="frame" x="0.0" y="6" width="354" height="379.66666666666669"/>
                            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                        </tableView>
                    </subviews>
                    <constraints>
                        <constraint firstItem="RTG-Tg-r7D" firstAttribute="top" secondItem="U44-7x-wSJ" secondAttribute="top" constant="6" id="4tR-O1-DCX"/>
                        <constraint firstAttribute="trailing" secondItem="Qns-9x-Owv" secondAttribute="trailing" id="AKo-Q8-n9Z"/>
                        <constraint firstItem="Qns-9x-Owv" firstAttribute="leading" secondItem="U44-7x-wSJ" secondAttribute="leading" id="Lfq-w0-5wV"/>
                        <constraint firstItem="RTG-Tg-r7D" firstAttribute="leading" secondItem="U44-7x-wSJ" secondAttribute="leading" id="Yl3-Mv-VaJ"/>
                        <constraint firstAttribute="trailing" secondItem="RTG-Tg-r7D" secondAttribute="trailing" id="bN1-d1-Ues"/>
                        <constraint firstItem="Qns-9x-Owv" firstAttribute="top" secondItem="U44-7x-wSJ" secondAttribute="top" id="erJ-wl-gvb"/>
                        <constraint firstAttribute="bottom" secondItem="RTG-Tg-r7D" secondAttribute="bottom" id="l5R-fz-JNz"/>
                        <constraint firstAttribute="bottom" secondItem="Qns-9x-Owv" secondAttribute="bottom" id="wy9-5e-vVw"/>
                    </constraints>
                </view>
            </subviews>
            <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
            <constraints>
                <constraint firstItem="U44-7x-wSJ" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="19.5" id="8xA-4a-MpQ"/>
                <constraint firstItem="Mda-xm-ljU" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="24" id="Cn6-q6-7Nr"/>
                <constraint firstItem="FTy-4y-V0e" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="topMargin" constant="21.5" id="Ekm-3G-6Nf"/>
                <constraint firstAttribute="trailing" secondItem="Ccy-Na-ksY" secondAttribute="trailing" id="ISD-eB-R12"/>
                <constraint firstItem="hyl-1O-IfF" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="NJe-cF-gbd"/>
                <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="hyl-1O-IfF" secondAttribute="trailing" id="Ptl-ei-hEY"/>
                <constraint firstItem="gQh-cp-6ml" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="24" id="QZd-rd-DXq"/>
                <constraint firstItem="Mda-xm-ljU" firstAttribute="top" secondItem="hyl-1O-IfF" secondAttribute="bottom" constant="48.5" id="SCy-cH-7uy"/>
                <constraint firstItem="Ccy-Na-ksY" firstAttribute="centerY" secondItem="FTy-4y-V0e" secondAttribute="centerY" id="a2C-eb-aBN"/>
                <constraint firstItem="FTy-4y-V0e" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" constant="20" id="aTZ-aJ-hIR"/>
                <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="U44-7x-wSJ" secondAttribute="trailing" constant="19.5" id="cDo-xR-8Sc"/>
                <constraint firstItem="gQh-cp-6ml" firstAttribute="top" secondItem="FTy-4y-V0e" secondAttribute="bottom" constant="33" id="cVN-a2-xN7"/>
                <constraint firstItem="hyl-1O-IfF" firstAttribute="top" secondItem="gQh-cp-6ml" secondAttribute="bottom" constant="15" id="l1U-ik-x9D"/>
                <constraint firstItem="U44-7x-wSJ" firstAttribute="top" secondItem="Mda-xm-ljU" secondAttribute="bottom" constant="21.5" id="opt-MC-mYk"/>
                <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="FTy-4y-V0e" secondAttribute="trailing" constant="65.5" id="pOQ-2D-9qe"/>
                <constraint firstItem="Ccy-Na-ksY" firstAttribute="leading" secondItem="FTy-4y-V0e" secondAttribute="trailing" id="yQ5-Zl-7xB"/>
            </constraints>
            <point key="canvasLocation" x="139.69465648854961" y="20.422535211267608"/>
        </view>
    </objects>
    <resources>
        <image name="bg_search" width="348.66665649414062" height="385.66665649414062"/>
        <image name="icon_search" width="22.666666030883789" height="22"/>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>