MainPageView.xib 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="19j-hX-Q9d" customClass="MainPageView">
  13. <rect key="frame" x="0.0" y="0.0" width="284" height="55"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="mg_center_bottomview" translatesAutoresizingMaskIntoConstraints="NO" id="Wcs-k3-zPu">
  17. <rect key="frame" x="0.0" y="-25" width="284" height="80"/>
  18. </imageView>
  19. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="OKf-xJ-5cV">
  20. <rect key="frame" x="0.0" y="0.0" width="142" height="50"/>
  21. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="50" id="nts-rp-Zdh"/>
  24. </constraints>
  25. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  26. <inset key="imageEdgeInsets" minX="0.0" minY="13" maxX="10" maxY="13"/>
  27. <state key="normal" title="私信" image="切图">
  28. <color key="titleColor" red="0.46666666666666667" green="0.46666666666666667" blue="0.46666666666666667" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. </state>
  30. <connections>
  31. <action selector="privateLetter:" destination="19j-hX-Q9d" eventType="touchUpInside" id="FAW-xg-k9x"/>
  32. </connections>
  33. </button>
  34. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GDS-Ws-wZM">
  35. <rect key="frame" x="143" y="0.0" width="142" height="50"/>
  36. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  37. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  38. <inset key="imageEdgeInsets" minX="0.0" minY="14" maxX="10" maxY="14"/>
  39. <state key="normal" title="关注" image="fw_me_focus">
  40. <color key="titleColor" red="0.46666666666666667" green="0.46666666666666667" blue="0.46666666666666667" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  41. </state>
  42. <state key="selected" title="已关注"/>
  43. <connections>
  44. <action selector="followButton:" destination="19j-hX-Q9d" eventType="touchUpInside" id="GlI-Iv-f1X"/>
  45. </connections>
  46. </button>
  47. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7Ms-F0-1cU">
  48. <rect key="frame" x="141.5" y="9.5" width="1" height="31"/>
  49. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  50. <constraints>
  51. <constraint firstAttribute="width" constant="1" id="tYO-bI-nOk"/>
  52. <constraint firstAttribute="height" constant="31" id="yjt-3W-YCS"/>
  53. </constraints>
  54. </view>
  55. </subviews>
  56. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  57. <constraints>
  58. <constraint firstItem="OKf-xJ-5cV" firstAttribute="width" secondItem="19j-hX-Q9d" secondAttribute="width" multiplier="0.5" id="BNn-Zg-595"/>
  59. <constraint firstAttribute="trailing" secondItem="Wcs-k3-zPu" secondAttribute="trailing" id="Dy0-KS-EcN"/>
  60. <constraint firstItem="7Ms-F0-1cU" firstAttribute="centerX" secondItem="19j-hX-Q9d" secondAttribute="centerX" id="I5e-OS-god"/>
  61. <constraint firstItem="OKf-xJ-5cV" firstAttribute="leading" secondItem="19j-hX-Q9d" secondAttribute="leading" id="Lr9-fS-iih"/>
  62. <constraint firstItem="GDS-Ws-wZM" firstAttribute="width" secondItem="OKf-xJ-5cV" secondAttribute="width" id="SHh-OS-m1a"/>
  63. <constraint firstAttribute="trailing" secondItem="GDS-Ws-wZM" secondAttribute="trailing" constant="-1" id="X5D-bn-I3A"/>
  64. <constraint firstItem="OKf-xJ-5cV" firstAttribute="top" secondItem="19j-hX-Q9d" secondAttribute="top" id="eKp-KK-KSG"/>
  65. <constraint firstItem="GDS-Ws-wZM" firstAttribute="top" secondItem="19j-hX-Q9d" secondAttribute="top" id="ekD-fZ-c6a"/>
  66. <constraint firstItem="Wcs-k3-zPu" firstAttribute="top" secondItem="19j-hX-Q9d" secondAttribute="top" constant="-25" id="fEZ-rx-Ask"/>
  67. <constraint firstItem="OKf-xJ-5cV" firstAttribute="leading" secondItem="19j-hX-Q9d" secondAttribute="leading" id="iNy-jD-0uR"/>
  68. <constraint firstItem="Wcs-k3-zPu" firstAttribute="leading" secondItem="19j-hX-Q9d" secondAttribute="leading" id="kYb-C9-l5I"/>
  69. <constraint firstItem="7Ms-F0-1cU" firstAttribute="centerY" secondItem="OKf-xJ-5cV" secondAttribute="centerY" id="pp0-Qr-wmE"/>
  70. <constraint firstItem="GDS-Ws-wZM" firstAttribute="centerY" secondItem="OKf-xJ-5cV" secondAttribute="centerY" id="yDm-xn-Vv5"/>
  71. <constraint firstAttribute="bottom" secondItem="Wcs-k3-zPu" secondAttribute="bottom" id="zLp-cq-rsR"/>
  72. </constraints>
  73. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  74. <connections>
  75. <outlet property="VLineView2" destination="7Ms-F0-1cU" id="txv-Io-6jL"/>
  76. <outlet property="followButton" destination="GDS-Ws-wZM" id="25P-dr-ZuF"/>
  77. <outlet property="personLetterButton" destination="OKf-xJ-5cV" id="eRR-j0-2n9"/>
  78. </connections>
  79. <point key="canvasLocation" x="30" y="212"/>
  80. </view>
  81. </objects>
  82. <resources>
  83. <image name="fw_me_focus" width="20" height="20"/>
  84. <image name="mg_center_bottomview" width="375" height="55"/>
  85. <image name="切图" width="20" height="20"/>
  86. </resources>
  87. </document>