CreateLiveBodyView.xib 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="CreateLiveBodyView">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="642"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IUC-2g-F8n">
  18. <rect key="frame" x="14" y="10" width="386" height="90"/>
  19. <subviews>
  20. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="*" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="l2j-s9-lvC">
  21. <rect key="frame" x="12" y="20" width="8" height="21"/>
  22. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  23. <color key="textColor" red="1" green="0.30588235294117649" blue="0.098039215686274508" alpha="1" colorSpace="calibratedRGB"/>
  24. <nil key="highlightedColor"/>
  25. </label>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="直播标题" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="A4e-tm-roy">
  27. <rect key="frame" x="20" y="20" width="70" height="21"/>
  28. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  29. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  30. <nil key="highlightedColor"/>
  31. </label>
  32. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入直播标题" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Zer-5J-UAf">
  33. <rect key="frame" x="12" y="46" width="362" height="30"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="30" id="mUd-Fw-YMu"/>
  36. </constraints>
  37. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  38. <textInputTraits key="textInputTraits"/>
  39. </textField>
  40. </subviews>
  41. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  42. <constraints>
  43. <constraint firstAttribute="trailing" secondItem="Zer-5J-UAf" secondAttribute="trailing" constant="12" id="0Oh-5z-h7T"/>
  44. <constraint firstItem="l2j-s9-lvC" firstAttribute="leading" secondItem="IUC-2g-F8n" secondAttribute="leading" constant="12" id="BOJ-eO-mw1"/>
  45. <constraint firstAttribute="height" constant="90" id="Fpc-VG-t85"/>
  46. <constraint firstItem="A4e-tm-roy" firstAttribute="leading" secondItem="l2j-s9-lvC" secondAttribute="trailing" id="K1z-PI-rxs"/>
  47. <constraint firstItem="Zer-5J-UAf" firstAttribute="leading" secondItem="IUC-2g-F8n" secondAttribute="leading" constant="12" id="d7i-X6-VOw"/>
  48. <constraint firstItem="Zer-5J-UAf" firstAttribute="top" secondItem="l2j-s9-lvC" secondAttribute="bottom" constant="5" id="j6k-5Z-Hvt"/>
  49. <constraint firstItem="A4e-tm-roy" firstAttribute="centerY" secondItem="l2j-s9-lvC" secondAttribute="centerY" id="kEl-K0-6Td"/>
  50. <constraint firstItem="l2j-s9-lvC" firstAttribute="top" secondItem="IUC-2g-F8n" secondAttribute="top" constant="20" id="oPb-QA-9aG"/>
  51. </constraints>
  52. <userDefinedRuntimeAttributes>
  53. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  54. <real key="value" value="10"/>
  55. </userDefinedRuntimeAttribute>
  56. </userDefinedRuntimeAttributes>
  57. </view>
  58. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AgR-dK-40h">
  59. <rect key="frame" x="14" y="112" width="386" height="210"/>
  60. <subviews>
  61. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="*" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="REu-cP-KFW">
  62. <rect key="frame" x="12" y="20" width="8" height="21"/>
  63. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  64. <color key="textColor" red="1" green="0.30588235289999999" blue="0.098039215690000001" alpha="1" colorSpace="calibratedRGB"/>
  65. <nil key="highlightedColor"/>
  66. </label>
  67. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="直播内容" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="R3Q-ty-XEs">
  68. <rect key="frame" x="20" y="20" width="70" height="21"/>
  69. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  70. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  71. <nil key="highlightedColor"/>
  72. </label>
  73. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ez8-R7-sTU">
  74. <rect key="frame" x="12" y="53" width="362" height="137"/>
  75. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  76. <color key="textColor" red="0.2666666667" green="0.2666666667" blue="0.2666666667" alpha="1" colorSpace="calibratedRGB"/>
  77. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  78. <textInputTraits key="textInputTraits" autocapitalizationType="sentences" returnKeyType="done" enablesReturnKeyAutomatically="YES"/>
  79. </textView>
  80. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请输入直播内容" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tnb-4n-z1s">
  81. <rect key="frame" x="12" y="62" width="114.5" height="20"/>
  82. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  83. <color key="textColor" red="0.75686274509803919" green="0.75686274509803919" blue="0.75686274509803919" alpha="1" colorSpace="calibratedRGB"/>
  84. <nil key="highlightedColor"/>
  85. </label>
  86. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0/200" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K6I-S3-WCn">
  87. <rect key="frame" x="342" y="190" width="34" height="20"/>
  88. <constraints>
  89. <constraint firstAttribute="height" constant="20" id="ajJ-B9-Cgj"/>
  90. </constraints>
  91. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  92. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  93. <nil key="highlightedColor"/>
  94. </label>
  95. </subviews>
  96. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  97. <constraints>
  98. <constraint firstAttribute="bottom" secondItem="ez8-R7-sTU" secondAttribute="bottom" constant="20" id="4ZO-J7-jFS"/>
  99. <constraint firstItem="ez8-R7-sTU" firstAttribute="top" secondItem="R3Q-ty-XEs" secondAttribute="bottom" constant="12" id="5ZN-9v-V8G"/>
  100. <constraint firstAttribute="bottom" secondItem="K6I-S3-WCn" secondAttribute="bottom" id="995-a4-PRl"/>
  101. <constraint firstAttribute="trailing" secondItem="K6I-S3-WCn" secondAttribute="trailing" constant="10" id="9Qc-mX-mBv"/>
  102. <constraint firstItem="tnb-4n-z1s" firstAttribute="leading" secondItem="AgR-dK-40h" secondAttribute="leading" constant="12" id="DVw-I6-R14"/>
  103. <constraint firstAttribute="trailing" secondItem="ez8-R7-sTU" secondAttribute="trailing" constant="12" id="F9X-Z3-UJU"/>
  104. <constraint firstItem="REu-cP-KFW" firstAttribute="leading" secondItem="AgR-dK-40h" secondAttribute="leading" constant="12" id="Guz-3G-MrC"/>
  105. <constraint firstItem="REu-cP-KFW" firstAttribute="top" secondItem="AgR-dK-40h" secondAttribute="top" constant="20" id="R00-CT-9IK"/>
  106. <constraint firstItem="tnb-4n-z1s" firstAttribute="top" secondItem="REu-cP-KFW" secondAttribute="bottom" constant="21" id="RsR-U6-Pel"/>
  107. <constraint firstAttribute="height" constant="210" id="XPt-iy-fEJ"/>
  108. <constraint firstItem="R3Q-ty-XEs" firstAttribute="centerY" secondItem="REu-cP-KFW" secondAttribute="centerY" id="pVY-BB-3wB"/>
  109. <constraint firstItem="R3Q-ty-XEs" firstAttribute="leading" secondItem="REu-cP-KFW" secondAttribute="trailing" id="tUw-eq-CSk"/>
  110. <constraint firstItem="ez8-R7-sTU" firstAttribute="leading" secondItem="AgR-dK-40h" secondAttribute="leading" constant="12" id="yal-dC-sF8"/>
  111. </constraints>
  112. <userDefinedRuntimeAttributes>
  113. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  114. <real key="value" value="10"/>
  115. </userDefinedRuntimeAttribute>
  116. </userDefinedRuntimeAttributes>
  117. </view>
  118. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="NVl-Up-QMs">
  119. <rect key="frame" x="28" y="555" width="358" height="44"/>
  120. <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  121. <constraints>
  122. <constraint firstAttribute="height" constant="44" id="HUl-sw-SN4"/>
  123. </constraints>
  124. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  125. <state key="normal" title="确认"/>
  126. <userDefinedRuntimeAttributes>
  127. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  128. <real key="value" value="22"/>
  129. </userDefinedRuntimeAttribute>
  130. </userDefinedRuntimeAttributes>
  131. <connections>
  132. <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="Wco-AZ-BO6"/>
  133. </connections>
  134. </button>
  135. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2Lf-gZ-cFg">
  136. <rect key="frame" x="14" y="334" width="386" height="90"/>
  137. <subviews>
  138. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="*" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FnJ-QX-6fw">
  139. <rect key="frame" x="12" y="20" width="8" height="21"/>
  140. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  141. <color key="textColor" red="1" green="0.30588235289999999" blue="0.098039215690000001" alpha="1" colorSpace="calibratedRGB"/>
  142. <nil key="highlightedColor"/>
  143. </label>
  144. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="直播时长" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qSu-TG-7Gc">
  145. <rect key="frame" x="20" y="20" width="70" height="21"/>
  146. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  147. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  148. <nil key="highlightedColor"/>
  149. </label>
  150. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请选择直播时长" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2aF-Cf-b74">
  151. <rect key="frame" x="12" y="49" width="115" height="20"/>
  152. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  153. <color key="textColor" red="0.75686274509803919" green="0.75686274509803919" blue="0.75686274509803919" alpha="1" colorSpace="calibratedRGB"/>
  154. <nil key="highlightedColor"/>
  155. </label>
  156. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="choose_arrow" translatesAutoresizingMaskIntoConstraints="NO" id="Hkc-TR-tSr">
  157. <rect key="frame" x="134" y="55.5" width="12" height="7"/>
  158. <constraints>
  159. <constraint firstAttribute="width" constant="12" id="QYK-yx-jgb"/>
  160. <constraint firstAttribute="height" constant="7" id="amF-ZH-gIi"/>
  161. </constraints>
  162. </imageView>
  163. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uZ3-fq-Oj3">
  164. <rect key="frame" x="12" y="42" width="134" height="34"/>
  165. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  166. <connections>
  167. <action selector="chooseTime:" destination="iN0-l3-epB" eventType="touchUpInside" id="mp0-85-wvH"/>
  168. </connections>
  169. </button>
  170. </subviews>
  171. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  172. <constraints>
  173. <constraint firstItem="Hkc-TR-tSr" firstAttribute="leading" secondItem="2aF-Cf-b74" secondAttribute="trailing" constant="7" id="1I0-3Z-x8H"/>
  174. <constraint firstItem="Hkc-TR-tSr" firstAttribute="trailing" secondItem="uZ3-fq-Oj3" secondAttribute="trailing" id="3g7-MY-EGG"/>
  175. <constraint firstItem="Hkc-TR-tSr" firstAttribute="centerY" secondItem="2aF-Cf-b74" secondAttribute="centerY" id="4J1-eV-Nrc"/>
  176. <constraint firstItem="2aF-Cf-b74" firstAttribute="leading" secondItem="2Lf-gZ-cFg" secondAttribute="leading" constant="12" id="LyL-qb-owe"/>
  177. <constraint firstItem="qSu-TG-7Gc" firstAttribute="centerY" secondItem="FnJ-QX-6fw" secondAttribute="centerY" id="OU8-eH-gqh"/>
  178. <constraint firstItem="FnJ-QX-6fw" firstAttribute="leading" secondItem="2Lf-gZ-cFg" secondAttribute="leading" constant="12" id="QxX-Cv-bwa"/>
  179. <constraint firstItem="2aF-Cf-b74" firstAttribute="top" secondItem="qSu-TG-7Gc" secondAttribute="bottom" constant="8" id="ZQu-Qr-tLK"/>
  180. <constraint firstItem="uZ3-fq-Oj3" firstAttribute="leading" secondItem="2aF-Cf-b74" secondAttribute="leading" id="bM2-fm-Ovt"/>
  181. <constraint firstItem="FnJ-QX-6fw" firstAttribute="top" secondItem="2Lf-gZ-cFg" secondAttribute="top" constant="20" id="bUr-0P-OEW"/>
  182. <constraint firstItem="qSu-TG-7Gc" firstAttribute="leading" secondItem="FnJ-QX-6fw" secondAttribute="trailing" id="dMh-MK-ffg"/>
  183. <constraint firstAttribute="height" constant="90" id="eOk-h6-cQJ"/>
  184. <constraint firstItem="2aF-Cf-b74" firstAttribute="centerY" secondItem="uZ3-fq-Oj3" secondAttribute="centerY" id="eZc-22-5Uo"/>
  185. </constraints>
  186. <userDefinedRuntimeAttributes>
  187. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  188. <real key="value" value="10"/>
  189. </userDefinedRuntimeAttribute>
  190. </userDefinedRuntimeAttributes>
  191. </view>
  192. </subviews>
  193. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  194. <constraints>
  195. <constraint firstItem="NVl-Up-QMs" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="28" id="70y-ah-k3R"/>
  196. <constraint firstAttribute="trailing" secondItem="NVl-Up-QMs" secondAttribute="trailing" constant="28" id="77x-p2-Jer"/>
  197. <constraint firstItem="AgR-dK-40h" firstAttribute="trailing" secondItem="IUC-2g-F8n" secondAttribute="trailing" id="BsZ-RO-vmP"/>
  198. <constraint firstItem="2Lf-gZ-cFg" firstAttribute="top" secondItem="AgR-dK-40h" secondAttribute="bottom" constant="12" id="ETO-fF-boo"/>
  199. <constraint firstAttribute="trailing" secondItem="IUC-2g-F8n" secondAttribute="trailing" constant="14" id="HHl-5j-HQK"/>
  200. <constraint firstItem="IUC-2g-F8n" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="KzN-3e-sOc"/>
  201. <constraint firstAttribute="trailing" secondItem="2Lf-gZ-cFg" secondAttribute="trailing" constant="14" id="Z8I-JA-xdt"/>
  202. <constraint firstItem="IUC-2g-F8n" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="10" id="lnB-2q-sHz"/>
  203. <constraint firstItem="AgR-dK-40h" firstAttribute="leading" secondItem="IUC-2g-F8n" secondAttribute="leading" id="oc2-Yu-gbH"/>
  204. <constraint firstItem="AgR-dK-40h" firstAttribute="top" secondItem="IUC-2g-F8n" secondAttribute="bottom" constant="12" id="r6D-oe-Wh7"/>
  205. <constraint firstAttribute="bottom" secondItem="NVl-Up-QMs" secondAttribute="bottom" constant="43" id="uVR-9h-5g8"/>
  206. <constraint firstItem="2Lf-gZ-cFg" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="yWu-es-je5"/>
  207. </constraints>
  208. <nil key="simulatedTopBarMetrics"/>
  209. <nil key="simulatedBottomBarMetrics"/>
  210. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  211. <connections>
  212. <outlet property="countLabel" destination="K6I-S3-WCn" id="KTW-ST-cYe"/>
  213. <outlet property="inputView" destination="ez8-R7-sTU" id="KkF-CH-6Gx"/>
  214. <outlet property="timeLabel" destination="2aF-Cf-b74" id="frD-7s-QWn"/>
  215. <outlet property="tipsLabel" destination="tnb-4n-z1s" id="hVS-S1-W0w"/>
  216. <outlet property="titleField" destination="Zer-5J-UAf" id="9pj-Rs-O21"/>
  217. </connections>
  218. <point key="canvasLocation" x="131.8840579710145" y="163.39285714285714"/>
  219. </view>
  220. </objects>
  221. <resources>
  222. <image name="choose_arrow" width="12" height="7"/>
  223. <systemColor name="systemBackgroundColor">
  224. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  225. </systemColor>
  226. </resources>
  227. </document>