|
@@ -1,42 +1,38 @@
|
|
|
<?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="21701" 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="21679"/>
|
|
|
<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="ChatAddressHeaderView">
|
|
|
- <rect key="frame" x="0.0" y="0.0" width="467" height="100"/>
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="467" height="60"/>
|
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
|
<subviews>
|
|
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2e1-g7-DgM">
|
|
|
- <rect key="frame" x="14" y="17" width="439" height="35"/>
|
|
|
+ <rect key="frame" x="14" y="12.5" width="439" height="35"/>
|
|
|
<subviews>
|
|
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UZE-Fv-T2y">
|
|
|
<rect key="frame" x="0.0" y="0.0" width="216" height="35"/>
|
|
|
<subviews>
|
|
|
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="联系人" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uUY-bh-cuO">
|
|
|
- <rect key="frame" x="91.5" y="7.5" width="49" height="20"/>
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="群聊" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uUY-bh-cuO">
|
|
|
+ <rect key="frame" x="99.5" y="7.5" width="33" height="20"/>
|
|
|
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
|
|
|
<color key="textColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
|
|
|
<nil key="highlightedColor"/>
|
|
|
</label>
|
|
|
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chat_single_selected" translatesAutoresizingMaskIntoConstraints="NO" id="qCn-hj-x7a">
|
|
|
- <rect key="frame" x="75.5" y="11" width="12" height="13"/>
|
|
|
- <constraints>
|
|
|
- <constraint firstAttribute="height" constant="13" id="D7I-Az-zln"/>
|
|
|
- <constraint firstAttribute="width" constant="12" id="F0J-un-Xgc"/>
|
|
|
- </constraints>
|
|
|
+ <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chat_group_selected" translatesAutoresizingMaskIntoConstraints="NO" id="qCn-hj-x7a">
|
|
|
+ <rect key="frame" x="79.5" y="11" width="16" height="13"/>
|
|
|
</imageView>
|
|
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Eti-67-Uh9">
|
|
|
<rect key="frame" x="0.0" y="0.0" width="216" height="35"/>
|
|
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
|
|
<connections>
|
|
|
- <action selector="personPage:" destination="iN0-l3-epB" eventType="touchUpInside" id="Hu0-Xq-n6Y"/>
|
|
|
+ <action selector="groupPage:" destination="iN0-l3-epB" eventType="touchUpInside" id="Ngs-kn-Y7e"/>
|
|
|
</connections>
|
|
|
</button>
|
|
|
</subviews>
|
|
@@ -60,15 +56,11 @@
|
|
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QRY-aK-O1I">
|
|
|
<rect key="frame" x="223" y="0.0" width="216" height="35"/>
|
|
|
<subviews>
|
|
|
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chat_group_unselected" translatesAutoresizingMaskIntoConstraints="NO" id="t6n-tG-oLV">
|
|
|
- <rect key="frame" x="81.5" y="11" width="16" height="13"/>
|
|
|
- <constraints>
|
|
|
- <constraint firstAttribute="width" constant="16" id="SMZ-GH-bj0"/>
|
|
|
- <constraint firstAttribute="height" constant="13" id="VIL-hC-iWy"/>
|
|
|
- </constraints>
|
|
|
+ <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chat_single_unselected" translatesAutoresizingMaskIntoConstraints="NO" id="t6n-tG-oLV">
|
|
|
+ <rect key="frame" x="77.5" y="11" width="12" height="13"/>
|
|
|
</imageView>
|
|
|
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="群聊" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8pC-jf-FdV">
|
|
|
- <rect key="frame" x="101.5" y="7.5" width="33" height="20"/>
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="联系人" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8pC-jf-FdV">
|
|
|
+ <rect key="frame" x="93.5" y="7.5" width="49" height="20"/>
|
|
|
<fontDescription key="fontDescription" type="system" pointSize="16"/>
|
|
|
<nil key="textColor"/>
|
|
|
<nil key="highlightedColor"/>
|
|
@@ -77,7 +69,7 @@
|
|
|
<rect key="frame" x="0.0" y="0.0" width="216" height="35"/>
|
|
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
|
|
<connections>
|
|
|
- <action selector="groupPage:" destination="iN0-l3-epB" eventType="touchUpInside" id="5oe-o8-BlQ"/>
|
|
|
+ <action selector="personPage:" destination="iN0-l3-epB" eventType="touchUpInside" id="zEg-89-6iZ"/>
|
|
|
</connections>
|
|
|
</button>
|
|
|
</subviews>
|
|
@@ -112,83 +104,27 @@
|
|
|
<constraint firstItem="QRY-aK-O1I" firstAttribute="leading" secondItem="UZE-Fv-T2y" secondAttribute="trailing" constant="7" id="ys0-jc-kXz"/>
|
|
|
</constraints>
|
|
|
</view>
|
|
|
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KhN-lD-vcC">
|
|
|
- <rect key="frame" x="14" y="64" width="439" height="36"/>
|
|
|
- <subviews>
|
|
|
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="search_green" translatesAutoresizingMaskIntoConstraints="NO" id="8Ix-cN-Qnc">
|
|
|
- <rect key="frame" x="12" y="10.5" width="15" height="15"/>
|
|
|
- <constraints>
|
|
|
- <constraint firstAttribute="width" constant="15" id="8A1-RN-dZ0"/>
|
|
|
- <constraint firstAttribute="height" constant="15" id="Ryq-hL-Hj7"/>
|
|
|
- </constraints>
|
|
|
- </imageView>
|
|
|
- <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入群聊/老师名称" adjustsFontSizeToFit="NO" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Ud0-St-B7w">
|
|
|
- <rect key="frame" x="38" y="0.0" width="331" height="36"/>
|
|
|
- <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
|
|
|
- <fontDescription key="fontDescription" type="system" pointSize="13"/>
|
|
|
- <textInputTraits key="textInputTraits"/>
|
|
|
- </textField>
|
|
|
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pVF-V1-s8f">
|
|
|
- <rect key="frame" x="379" y="4" width="56" height="28"/>
|
|
|
- <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
|
|
|
- <constraints>
|
|
|
- <constraint firstAttribute="width" constant="56" id="0Yj-XR-Ors"/>
|
|
|
- <constraint firstAttribute="height" constant="28" id="g7h-sH-BIb"/>
|
|
|
- </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>
|
|
|
- </button>
|
|
|
- </subviews>
|
|
|
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
|
|
- <constraints>
|
|
|
- <constraint firstItem="Ud0-St-B7w" firstAttribute="leading" secondItem="8Ix-cN-Qnc" secondAttribute="trailing" constant="11" id="19I-Qa-Ids"/>
|
|
|
- <constraint firstItem="Ud0-St-B7w" firstAttribute="top" secondItem="KhN-lD-vcC" secondAttribute="top" id="4EH-1U-Mbr"/>
|
|
|
- <constraint firstAttribute="trailing" secondItem="pVF-V1-s8f" secondAttribute="trailing" constant="4" id="KXH-NN-ULL"/>
|
|
|
- <constraint firstItem="8Ix-cN-Qnc" firstAttribute="centerY" secondItem="KhN-lD-vcC" secondAttribute="centerY" id="Rae-R6-bAB"/>
|
|
|
- <constraint firstAttribute="bottom" secondItem="Ud0-St-B7w" secondAttribute="bottom" id="U4Q-T0-AP1"/>
|
|
|
- <constraint firstAttribute="height" constant="36" id="VNE-zv-tx0"/>
|
|
|
- <constraint firstItem="pVF-V1-s8f" firstAttribute="leading" secondItem="Ud0-St-B7w" secondAttribute="trailing" constant="10" id="b2h-HJ-cfT"/>
|
|
|
- <constraint firstItem="8Ix-cN-Qnc" firstAttribute="leading" secondItem="KhN-lD-vcC" secondAttribute="leading" constant="12" id="efb-gy-ndo"/>
|
|
|
- <constraint firstItem="pVF-V1-s8f" firstAttribute="centerY" secondItem="KhN-lD-vcC" secondAttribute="centerY" id="fLd-LA-27D"/>
|
|
|
- </constraints>
|
|
|
- <userDefinedRuntimeAttributes>
|
|
|
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
|
|
|
- <real key="value" value="17.5"/>
|
|
|
- </userDefinedRuntimeAttribute>
|
|
|
- </userDefinedRuntimeAttributes>
|
|
|
- </view>
|
|
|
</subviews>
|
|
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
|
<constraints>
|
|
|
- <constraint firstItem="KhN-lD-vcC" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="DsS-0Q-QPz"/>
|
|
|
- <constraint firstAttribute="trailing" secondItem="KhN-lD-vcC" secondAttribute="trailing" constant="14" id="FdW-8b-IKA"/>
|
|
|
<constraint firstAttribute="trailing" secondItem="2e1-g7-DgM" secondAttribute="trailing" constant="14" id="g3J-xi-5KZ"/>
|
|
|
<constraint firstItem="2e1-g7-DgM" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="ke3-VT-rre"/>
|
|
|
- <constraint firstAttribute="bottom" secondItem="KhN-lD-vcC" secondAttribute="bottom" id="mK5-IF-CRR"/>
|
|
|
- <constraint firstItem="KhN-lD-vcC" firstAttribute="top" secondItem="2e1-g7-DgM" secondAttribute="bottom" constant="12" id="yxy-GA-yem"/>
|
|
|
+ <constraint firstItem="2e1-g7-DgM" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="vf4-GI-MEI"/>
|
|
|
</constraints>
|
|
|
<nil key="simulatedTopBarMetrics"/>
|
|
|
<nil key="simulatedBottomBarMetrics"/>
|
|
|
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
|
|
<connections>
|
|
|
- <outlet property="groupImage" destination="t6n-tG-oLV" id="b1a-Om-Htf"/>
|
|
|
- <outlet property="groupLabel" destination="8pC-jf-FdV" id="6qK-9U-E60"/>
|
|
|
- <outlet property="searchField" destination="Ud0-St-B7w" id="f2l-rL-HAJ"/>
|
|
|
- <outlet property="singleImage" destination="qCn-hj-x7a" id="LR4-wD-75G"/>
|
|
|
- <outlet property="singleLabel" destination="uUY-bh-cuO" id="vw0-2J-0xV"/>
|
|
|
+ <outlet property="groupImage" destination="qCn-hj-x7a" id="S8C-va-RG0"/>
|
|
|
+ <outlet property="groupLabel" destination="uUY-bh-cuO" id="HJe-b8-7yj"/>
|
|
|
+ <outlet property="singleImage" destination="t6n-tG-oLV" id="4KG-0q-xmm"/>
|
|
|
+ <outlet property="singleLabel" destination="8pC-jf-FdV" id="Pup-cR-4hf"/>
|
|
|
</connections>
|
|
|
- <point key="canvasLocation" x="170.28985507246378" y="-103.79464285714285"/>
|
|
|
+ <point key="canvasLocation" x="170.28985507246378" y="-113.16964285714285"/>
|
|
|
</view>
|
|
|
</objects>
|
|
|
<resources>
|
|
|
- <image name="chat_group_unselected" width="16" height="13"/>
|
|
|
- <image name="chat_single_selected" width="12" height="13"/>
|
|
|
- <image name="search_green" width="15" height="16"/>
|
|
|
+ <image name="chat_group_selected" width="16" height="13"/>
|
|
|
+ <image name="chat_single_unselected" width="12" height="13"/>
|
|
|
</resources>
|
|
|
</document>
|