87 lines
7.5 KiB
Plaintext
87 lines
7.5 KiB
Plaintext
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" 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="22504"/>
|
||
|
|
<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="SPTrendInsertView">
|
||
|
|
<rect key="frame" x="0.0" y="0.0" width="375" height="88"/>
|
||
|
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||
|
|
<subviews>
|
||
|
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tdP-aU-h4z">
|
||
|
|
<rect key="frame" x="15" y="10" width="345" height="44"/>
|
||
|
|
<subviews>
|
||
|
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="trend_bottom_bg" translatesAutoresizingMaskIntoConstraints="NO" id="4Gq-ie-kR4">
|
||
|
|
<rect key="frame" x="0.0" y="0.0" width="345" height="44"/>
|
||
|
|
</imageView>
|
||
|
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="trend_insert_icon" translatesAutoresizingMaskIntoConstraints="NO" id="pbm-RQ-sIK">
|
||
|
|
<rect key="frame" x="15" y="10" width="24" height="24"/>
|
||
|
|
<constraints>
|
||
|
|
<constraint firstAttribute="height" constant="24" id="W83-pF-9My"/>
|
||
|
|
<constraint firstAttribute="width" constant="24" id="xLt-0c-hcl"/>
|
||
|
|
</constraints>
|
||
|
|
</imageView>
|
||
|
|
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="说点什么吧~" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="6eZ-wJ-SID">
|
||
|
|
<rect key="frame" x="44" y="0.0" width="219" height="44"/>
|
||
|
|
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||
|
|
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
|
||
|
|
<textInputTraits key="textInputTraits" returnKeyType="send"/>
|
||
|
|
</textField>
|
||
|
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VcU-4v-ojZ">
|
||
|
|
<rect key="frame" x="273" y="4" width="62" height="36"/>
|
||
|
|
<constraints>
|
||
|
|
<constraint firstAttribute="width" constant="62" id="BZg-sy-CF4"/>
|
||
|
|
<constraint firstAttribute="height" constant="36" id="Fym-Bz-0ze"/>
|
||
|
|
</constraints>
|
||
|
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||
|
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||
|
|
<state key="normal" image="trend_bottom_send"/>
|
||
|
|
<connections>
|
||
|
|
<action selector="onSend:" destination="iN0-l3-epB" eventType="touchUpInside" id="e83-kb-Irp"/>
|
||
|
|
</connections>
|
||
|
|
</button>
|
||
|
|
</subviews>
|
||
|
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||
|
|
<constraints>
|
||
|
|
<constraint firstAttribute="trailing" secondItem="VcU-4v-ojZ" secondAttribute="trailing" constant="10" id="5C3-lh-jMB"/>
|
||
|
|
<constraint firstItem="pbm-RQ-sIK" firstAttribute="leading" secondItem="tdP-aU-h4z" secondAttribute="leading" constant="15" id="Cay-0j-6qb"/>
|
||
|
|
<constraint firstItem="6eZ-wJ-SID" firstAttribute="top" secondItem="tdP-aU-h4z" secondAttribute="top" id="OMN-Tq-Zuv"/>
|
||
|
|
<constraint firstAttribute="trailing" secondItem="4Gq-ie-kR4" secondAttribute="trailing" id="Wce-nS-UoC"/>
|
||
|
|
<constraint firstItem="pbm-RQ-sIK" firstAttribute="centerY" secondItem="tdP-aU-h4z" secondAttribute="centerY" id="Ydg-rm-NVV"/>
|
||
|
|
<constraint firstItem="VcU-4v-ojZ" firstAttribute="centerY" secondItem="tdP-aU-h4z" secondAttribute="centerY" id="cfF-IZ-xgS"/>
|
||
|
|
<constraint firstItem="VcU-4v-ojZ" firstAttribute="leading" secondItem="6eZ-wJ-SID" secondAttribute="trailing" constant="10" id="ghP-5D-OjA"/>
|
||
|
|
<constraint firstAttribute="height" constant="44" id="jfp-sa-G0w"/>
|
||
|
|
<constraint firstItem="4Gq-ie-kR4" firstAttribute="top" secondItem="tdP-aU-h4z" secondAttribute="top" id="qWr-WS-zpB"/>
|
||
|
|
<constraint firstItem="4Gq-ie-kR4" firstAttribute="leading" secondItem="tdP-aU-h4z" secondAttribute="leading" id="rST-8q-WRq"/>
|
||
|
|
<constraint firstItem="6eZ-wJ-SID" firstAttribute="leading" secondItem="tdP-aU-h4z" secondAttribute="leading" constant="44" id="ypi-hZ-Mp9"/>
|
||
|
|
<constraint firstAttribute="bottom" secondItem="4Gq-ie-kR4" secondAttribute="bottom" id="zbG-xo-GLx"/>
|
||
|
|
<constraint firstAttribute="bottom" secondItem="6eZ-wJ-SID" secondAttribute="bottom" id="zf3-bS-w5z"/>
|
||
|
|
</constraints>
|
||
|
|
</view>
|
||
|
|
</subviews>
|
||
|
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||
|
|
<constraints>
|
||
|
|
<constraint firstItem="tdP-aU-h4z" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="15" id="IAe-oI-F6W"/>
|
||
|
|
<constraint firstItem="tdP-aU-h4z" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="10" id="tEb-e6-sv6"/>
|
||
|
|
<constraint firstAttribute="trailing" secondItem="tdP-aU-h4z" secondAttribute="trailing" constant="15" id="wj3-Cp-zND"/>
|
||
|
|
</constraints>
|
||
|
|
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||
|
|
<connections>
|
||
|
|
<outlet property="insertTF" destination="6eZ-wJ-SID" id="DTW-C5-6VO"/>
|
||
|
|
<outlet property="sendBtn" destination="VcU-4v-ojZ" id="cxC-4b-Q4g"/>
|
||
|
|
</connections>
|
||
|
|
<point key="canvasLocation" x="132" y="108"/>
|
||
|
|
</view>
|
||
|
|
</objects>
|
||
|
|
<resources>
|
||
|
|
<image name="trend_bottom_bg" width="345" height="44"/>
|
||
|
|
<image name="trend_bottom_send" width="62" height="36"/>
|
||
|
|
<image name="trend_insert_icon" width="24" height="24"/>
|
||
|
|
</resources>
|
||
|
|
</document>
|