|
@@ -1,71 +1,131 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
|
|
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
|
|
<device id="retina6_1" orientation="portrait" appearance="light"/>
|
|
|
<dependencies>
|
|
|
<deployment identifier="iOS"/>
|
|
|
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
|
|
|
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
|
|
|
<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 contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeworkSortView">
|
|
|
- <rect key="frame" x="0.0" y="0.0" width="414" height="71"/>
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="414" height="60"/>
|
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
|
<subviews>
|
|
|
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2021年9月" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="t4D-yi-OH7">
|
|
|
- <rect key="frame" x="14" y="25.5" width="69" height="20"/>
|
|
|
+ <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Thg-pa-tMK">
|
|
|
+ <rect key="frame" x="14" y="12" width="93.5" height="34"/>
|
|
|
+ <subviews>
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2024年12月" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="v0u-cD-2Gi">
|
|
|
+ <rect key="frame" x="0.0" y="8.5" width="80.5" height="17"/>
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
|
+ <color key="textColor" red="0.074509803920000006" green="0.078431372550000003" blue="0.08235294118" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
+ </label>
|
|
|
+ <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sort_down_grey" translatesAutoresizingMaskIntoConstraints="NO" id="Ssc-Jh-zKg">
|
|
|
+ <rect key="frame" x="84.5" y="14.5" width="9" height="5"/>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstAttribute="width" constant="9" id="Fnv-LN-ZjY"/>
|
|
|
+ </constraints>
|
|
|
+ </imageView>
|
|
|
+ <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="e7W-Z8-qfu">
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="93.5" height="34"/>
|
|
|
+ <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
|
|
+ <connections>
|
|
|
+ <action selector="sortButtonAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="q0x-yq-dRs"/>
|
|
|
+ </connections>
|
|
|
+ </button>
|
|
|
+ </subviews>
|
|
|
+ <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
|
<constraints>
|
|
|
- <constraint firstAttribute="height" constant="20" id="Wp2-fJ-Nhg"/>
|
|
|
+ <constraint firstAttribute="height" constant="34" id="I4W-nJ-spH"/>
|
|
|
+ <constraint firstItem="e7W-Z8-qfu" firstAttribute="top" secondItem="Thg-pa-tMK" secondAttribute="top" id="JW3-Yc-74R"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="e7W-Z8-qfu" secondAttribute="trailing" id="QiD-L1-zOi"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="Ssc-Jh-zKg" secondAttribute="trailing" id="QqR-Em-ufj"/>
|
|
|
+ <constraint firstItem="e7W-Z8-qfu" firstAttribute="leading" secondItem="Thg-pa-tMK" secondAttribute="leading" id="TOQ-35-6x4"/>
|
|
|
+ <constraint firstItem="v0u-cD-2Gi" firstAttribute="centerY" secondItem="Thg-pa-tMK" secondAttribute="centerY" id="csH-aj-8Yy"/>
|
|
|
+ <constraint firstItem="Ssc-Jh-zKg" firstAttribute="centerY" secondItem="v0u-cD-2Gi" secondAttribute="centerY" id="d4q-L1-AdT"/>
|
|
|
+ <constraint firstAttribute="bottom" secondItem="e7W-Z8-qfu" secondAttribute="bottom" id="hPF-ER-BWY"/>
|
|
|
+ <constraint firstItem="v0u-cD-2Gi" firstAttribute="leading" secondItem="Thg-pa-tMK" secondAttribute="leading" id="ldf-bJ-JJo"/>
|
|
|
+ <constraint firstItem="Ssc-Jh-zKg" firstAttribute="leading" secondItem="v0u-cD-2Gi" secondAttribute="trailing" constant="4" id="qoM-5q-UZs"/>
|
|
|
</constraints>
|
|
|
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
|
- <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
|
|
|
- <nil key="highlightedColor"/>
|
|
|
- </label>
|
|
|
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sort_down" translatesAutoresizingMaskIntoConstraints="NO" id="dxn-Em-1xD">
|
|
|
- <rect key="frame" x="86" y="32.5" width="8" height="6"/>
|
|
|
- </imageView>
|
|
|
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0zE-tr-Z1O">
|
|
|
- <rect key="frame" x="14" y="0.0" width="80" height="71"/>
|
|
|
- <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
|
|
- <connections>
|
|
|
- <action selector="sortButtonAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="rWv-0j-Xxb"/>
|
|
|
- </connections>
|
|
|
- </button>
|
|
|
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="idS-UU-njp">
|
|
|
- <rect key="frame" x="0.0" y="0.0" width="414" height="1"/>
|
|
|
- <color key="backgroundColor" red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="calibratedRGB"/>
|
|
|
+ </view>
|
|
|
+ <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Za2-tz-f26">
|
|
|
+ <rect key="frame" x="119.5" y="12" width="280.5" height="34"/>
|
|
|
+ <subviews>
|
|
|
+ <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="search_green" translatesAutoresizingMaskIntoConstraints="NO" id="Mvg-ZH-Air">
|
|
|
+ <rect key="frame" x="12" y="9" width="16" height="16"/>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstAttribute="width" constant="16" id="PHX-oY-utt"/>
|
|
|
+ <constraint firstAttribute="height" constant="16" id="kZ8-Dm-POc"/>
|
|
|
+ </constraints>
|
|
|
+ </imageView>
|
|
|
+ <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ExG-kZ-4Zv">
|
|
|
+ <rect key="frame" x="221.5" y="3" width="56" height="28"/>
|
|
|
+ <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
|
|
+ <constraints>
|
|
|
+ <constraint firstAttribute="height" constant="28" id="ezv-m8-U8V"/>
|
|
|
+ <constraint firstAttribute="width" constant="56" id="hPO-G3-bzz"/>
|
|
|
+ </constraints>
|
|
|
+ <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
|
|
|
+ <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
|
|
+ <state key="normal" title="搜索"/>
|
|
|
+ <userDefinedRuntimeAttributes>
|
|
|
+ <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
|
|
|
+ <real key="value" value="14"/>
|
|
|
+ </userDefinedRuntimeAttribute>
|
|
|
+ </userDefinedRuntimeAttributes>
|
|
|
+ <connections>
|
|
|
+ <action selector="searchAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="sB8-ma-fAx"/>
|
|
|
+ </connections>
|
|
|
+ </button>
|
|
|
+ <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入搜索关键词" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="ee5-sk-ANr">
|
|
|
+ <rect key="frame" x="34" y="0.0" width="175.5" height="34"/>
|
|
|
+ <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
|
+ <textInputTraits key="textInputTraits"/>
|
|
|
+ </textField>
|
|
|
+ </subviews>
|
|
|
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
|
<constraints>
|
|
|
- <constraint firstAttribute="height" constant="1" id="O5D-lG-NRc"/>
|
|
|
+ <constraint firstItem="ExG-kZ-4Zv" firstAttribute="centerY" secondItem="Za2-tz-f26" secondAttribute="centerY" id="0QT-OK-gX6"/>
|
|
|
+ <constraint firstItem="Mvg-ZH-Air" firstAttribute="centerY" secondItem="Za2-tz-f26" secondAttribute="centerY" id="1CF-og-nrl"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="ExG-kZ-4Zv" secondAttribute="trailing" constant="3" id="7Rh-UM-cjh"/>
|
|
|
+ <constraint firstAttribute="bottom" secondItem="ee5-sk-ANr" secondAttribute="bottom" id="9qB-4X-MpQ"/>
|
|
|
+ <constraint firstItem="ee5-sk-ANr" firstAttribute="top" secondItem="Za2-tz-f26" secondAttribute="top" id="iCZ-tj-K6V"/>
|
|
|
+ <constraint firstItem="ExG-kZ-4Zv" firstAttribute="leading" secondItem="ee5-sk-ANr" secondAttribute="trailing" constant="12" id="ina-P9-Njt"/>
|
|
|
+ <constraint firstItem="ee5-sk-ANr" firstAttribute="leading" secondItem="Mvg-ZH-Air" secondAttribute="trailing" constant="6" id="reT-cN-0xv"/>
|
|
|
+ <constraint firstItem="Mvg-ZH-Air" firstAttribute="leading" secondItem="Za2-tz-f26" secondAttribute="leading" constant="12" id="sPO-2Y-HjQ"/>
|
|
|
+ <constraint firstAttribute="height" constant="34" id="w6u-Zj-tyT"/>
|
|
|
</constraints>
|
|
|
+ <userDefinedRuntimeAttributes>
|
|
|
+ <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
|
|
|
+ <real key="value" value="17"/>
|
|
|
+ </userDefinedRuntimeAttribute>
|
|
|
+ </userDefinedRuntimeAttributes>
|
|
|
</view>
|
|
|
</subviews>
|
|
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
|
<constraints>
|
|
|
- <constraint firstAttribute="trailing" secondItem="idS-UU-njp" secondAttribute="trailing" id="1ys-fa-lyv"/>
|
|
|
- <constraint firstItem="0zE-tr-Z1O" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="3A4-LV-UX8"/>
|
|
|
- <constraint firstItem="idS-UU-njp" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="HvB-xY-6Di"/>
|
|
|
- <constraint firstItem="t4D-yi-OH7" firstAttribute="leading" secondItem="0zE-tr-Z1O" secondAttribute="leading" id="IEw-nx-7uA"/>
|
|
|
- <constraint firstItem="idS-UU-njp" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="aX7-in-MSE"/>
|
|
|
- <constraint firstItem="dxn-Em-1xD" firstAttribute="centerY" secondItem="0zE-tr-Z1O" secondAttribute="centerY" id="bQb-1X-2bN"/>
|
|
|
- <constraint firstItem="dxn-Em-1xD" firstAttribute="centerY" secondItem="t4D-yi-OH7" secondAttribute="centerY" id="plf-sU-8TP"/>
|
|
|
- <constraint firstAttribute="bottom" secondItem="0zE-tr-Z1O" secondAttribute="bottom" id="qyE-Vi-A46"/>
|
|
|
- <constraint firstItem="dxn-Em-1xD" firstAttribute="leading" secondItem="t4D-yi-OH7" secondAttribute="trailing" constant="3" id="rdB-Cz-jgk"/>
|
|
|
- <constraint firstItem="dxn-Em-1xD" firstAttribute="trailing" secondItem="0zE-tr-Z1O" secondAttribute="trailing" id="uMM-8g-Iey"/>
|
|
|
- <constraint firstItem="t4D-yi-OH7" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="xba-oZ-dqJ"/>
|
|
|
- <constraint firstItem="t4D-yi-OH7" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="yPk-Hn-IMF"/>
|
|
|
+ <constraint firstItem="Za2-tz-f26" firstAttribute="centerY" secondItem="Thg-pa-tMK" secondAttribute="centerY" id="6Jr-vo-oty"/>
|
|
|
+ <constraint firstItem="Thg-pa-tMK" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="ULy-qF-fWL"/>
|
|
|
+ <constraint firstAttribute="trailing" secondItem="Za2-tz-f26" secondAttribute="trailing" constant="14" id="Y7N-VH-sH8"/>
|
|
|
+ <constraint firstItem="Thg-pa-tMK" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="12" id="uVY-I3-ES1"/>
|
|
|
+ <constraint firstItem="Za2-tz-f26" firstAttribute="leading" secondItem="Thg-pa-tMK" secondAttribute="trailing" constant="12" id="xeU-Wa-0RT"/>
|
|
|
</constraints>
|
|
|
<nil key="simulatedTopBarMetrics"/>
|
|
|
<nil key="simulatedBottomBarMetrics"/>
|
|
|
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
|
|
<connections>
|
|
|
- <outlet property="arrowImage" destination="dxn-Em-1xD" id="9IA-4h-Loj"/>
|
|
|
- <outlet property="sortTitleLabel" destination="t4D-yi-OH7" id="aJ4-rZ-EMq"/>
|
|
|
+ <outlet property="searchField" destination="ee5-sk-ANr" id="Oaa-Sb-jLp"/>
|
|
|
+ <outlet property="sortImage" destination="Ssc-Jh-zKg" id="6xq-K4-bZb"/>
|
|
|
+ <outlet property="sortLabel" destination="v0u-cD-2Gi" id="6ZL-gl-El2"/>
|
|
|
</connections>
|
|
|
- <point key="canvasLocation" x="131.8840579710145" y="41.852678571428569"/>
|
|
|
+ <point key="canvasLocation" x="131.8840579710145" y="38.169642857142854"/>
|
|
|
</view>
|
|
|
</objects>
|
|
|
<resources>
|
|
|
- <image name="sort_down" width="8" height="6"/>
|
|
|
+ <image name="search_green" width="16" height="16"/>
|
|
|
+ <image name="sort_down_grey" width="9" height="5"/>
|
|
|
</resources>
|
|
|
</document>
|