123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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_0" orientation="portrait" appearance="light"/>
- <dependencies>
- <deployment identifier="iOS"/>
- <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="CoursewareSearchView">
- <rect key="frame" x="0.0" y="0.0" width="390" height="54"/>
- <autoresizingMask key="autoresizingMask"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8fk-7g-Rlv">
- <rect key="frame" x="14" y="10" width="362" height="34"/>
- <subviews>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="search_grey" translatesAutoresizingMaskIntoConstraints="NO" id="MGo-5I-11a">
- <rect key="frame" x="12" y="9" width="16" height="16"/>
- <constraints>
- <constraint firstAttribute="height" constant="16" id="3T2-Lb-sA8"/>
- <constraint firstAttribute="width" constant="16" id="YcJ-dY-UEa"/>
- </constraints>
- </imageView>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1q4-5G-Tus">
- <rect key="frame" x="36" y="10" width="0.6666666666666643" height="14"/>
- <color key="backgroundColor" red="0.84705882352941175" green="0.84705882352941175" blue="0.84705882352941175" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstAttribute="width" constant="0.5" id="cUi-IM-z6h"/>
- <constraint firstAttribute="height" constant="14" id="zex-dr-Hja"/>
- </constraints>
- </view>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Sj8-ME-2XI">
- <rect key="frame" x="309" y="5" width="48" height="24"/>
- <color key="backgroundColor" red="0.11764705882352941" green="0.80392156862745101" blue="0.67450980392156867" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="height" constant="24" id="K2g-l6-aYF"/>
- <constraint firstAttribute="width" constant="48" id="h4n-JL-z9g"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <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="12"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <action selector="searchAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="Fnp-Sh-Q3P"/>
- </connections>
- </button>
- <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入课件名称" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="Tp5-WE-A9h">
- <rect key="frame" x="46.666666666666671" y="0.0" width="252.33333333333331" 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" returnKeyType="done" enablesReturnKeyAutomatically="YES"/>
- </textField>
- </subviews>
- <color key="backgroundColor" red="0.97254901960784312" green="0.97254901960784312" blue="0.97254901960784312" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstItem="Sj8-ME-2XI" firstAttribute="leading" secondItem="Tp5-WE-A9h" secondAttribute="trailing" constant="10" id="01l-1B-NmB"/>
- <constraint firstItem="Sj8-ME-2XI" firstAttribute="centerY" secondItem="8fk-7g-Rlv" secondAttribute="centerY" id="AuT-98-jTp"/>
- <constraint firstItem="MGo-5I-11a" firstAttribute="centerY" secondItem="8fk-7g-Rlv" secondAttribute="centerY" id="HaS-oi-Q9G"/>
- <constraint firstItem="Tp5-WE-A9h" firstAttribute="leading" secondItem="1q4-5G-Tus" secondAttribute="trailing" constant="10" id="a4d-qy-LFJ"/>
- <constraint firstItem="1q4-5G-Tus" firstAttribute="leading" secondItem="MGo-5I-11a" secondAttribute="trailing" constant="8" id="hSQ-we-slb"/>
- <constraint firstAttribute="height" constant="34" id="hyC-I9-GN9"/>
- <constraint firstItem="1q4-5G-Tus" firstAttribute="centerY" secondItem="MGo-5I-11a" secondAttribute="centerY" id="izu-NM-TVK"/>
- <constraint firstItem="MGo-5I-11a" firstAttribute="leading" secondItem="8fk-7g-Rlv" secondAttribute="leading" constant="12" id="sYH-k8-8sc"/>
- <constraint firstAttribute="trailing" secondItem="Sj8-ME-2XI" secondAttribute="trailing" constant="5" id="scG-bc-R6Z"/>
- <constraint firstItem="Tp5-WE-A9h" firstAttribute="centerY" secondItem="8fk-7g-Rlv" secondAttribute="centerY" id="vCz-JN-2oX"/>
- <constraint firstItem="Tp5-WE-A9h" firstAttribute="top" secondItem="8fk-7g-Rlv" secondAttribute="top" id="xc8-Ge-Rb2"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="17"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </view>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstItem="8fk-7g-Rlv" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="Ju5-0p-GAg"/>
- <constraint firstAttribute="trailing" secondItem="8fk-7g-Rlv" secondAttribute="trailing" constant="14" id="KMn-4o-Qqi"/>
- <constraint firstItem="8fk-7g-Rlv" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="PQh-aY-Pdz"/>
- </constraints>
- <nil key="simulatedTopBarMetrics"/>
- <nil key="simulatedBottomBarMetrics"/>
- <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
- <connections>
- <outlet property="textField" destination="Tp5-WE-A9h" id="DVm-sb-RrC"/>
- </connections>
- <point key="canvasLocation" x="158.46153846153845" y="-198.34123222748815"/>
- </view>
- </objects>
- <resources>
- <image name="search_grey" width="16" height="16"/>
- </resources>
- </document>
|