LMMediaPlayerView.xib 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8191" systemVersion="15A284" targetRuntime="iOS.CocoaTouch" variant="6xAndEarlier" propertyAccessControl="none" useAutolayout="YES">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
  5. </dependencies>
  6. <objects>
  7. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  8. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  9. <view contentMode="scaleToFill" id="1hC-He-NDs" customClass="LMMediaPlayerView">
  10. <rect key="frame" x="0.0" y="0.0" width="320" height="180"/>
  11. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  12. <subviews>
  13. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="077-OQ-G8z">
  14. <rect key="frame" x="0.0" y="0.0" width="320" height="180"/>
  15. <animations/>
  16. </imageView>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oc7-kf-peg">
  18. <rect key="frame" x="0.0" y="136" width="320" height="44"/>
  19. <subviews>
  20. <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="tJg-rp-csT">
  21. <rect key="frame" x="73" y="10" width="169" height="25"/>
  22. <animations/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="24" id="kJJ-cQ-bc6"/>
  25. </constraints>
  26. </slider>
  27. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="lWT-Df-Byc">
  28. <rect key="frame" x="5" y="7" width="30" height="30"/>
  29. <animations/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="30" id="BUb-5g-dxA"/>
  32. <constraint firstAttribute="width" constant="30" id="bIg-SV-wIA"/>
  33. </constraints>
  34. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  35. <state key="normal">
  36. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  37. </state>
  38. </button>
  39. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MJc-Lj-1A5">
  40. <rect key="frame" x="285" y="7" width="30" height="30"/>
  41. <animations/>
  42. <constraints>
  43. <constraint firstAttribute="height" constant="30" id="PML-ws-xeY"/>
  44. <constraint firstAttribute="width" constant="30" id="qv2-fR-aQZ"/>
  45. </constraints>
  46. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  47. <state key="normal">
  48. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  49. </state>
  50. <connections>
  51. <action selector="fullscreenButtonPressed:" destination="1hC-He-NDs" eventType="touchUpInside" id="11b-9P-ayj"/>
  52. </connections>
  53. </button>
  54. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="00:00" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Vp-13-PyP">
  55. <rect key="frame" x="40" y="16" width="28" height="11"/>
  56. <animations/>
  57. <constraints>
  58. <constraint firstAttribute="width" constant="28" id="BCY-AQ-tvj"/>
  59. <constraint firstAttribute="height" constant="11" id="nTK-cl-WCl"/>
  60. </constraints>
  61. <fontDescription key="fontDescription" type="system" pointSize="9"/>
  62. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  63. <nil key="highlightedColor"/>
  64. </label>
  65. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="-00:00" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dCu-1Y-f4h">
  66. <rect key="frame" x="248" y="16" width="32" height="11"/>
  67. <animations/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="11" id="Owh-L6-e4H"/>
  70. <constraint firstAttribute="width" constant="32" id="n6y-4F-K9E"/>
  71. </constraints>
  72. <fontDescription key="fontDescription" type="system" pointSize="9"/>
  73. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  74. <nil key="highlightedColor"/>
  75. </label>
  76. </subviews>
  77. <animations/>
  78. <color key="backgroundColor" cocoaTouchSystemColor="darkTextColor"/>
  79. <constraints>
  80. <constraint firstItem="MJc-Lj-1A5" firstAttribute="leading" secondItem="dCu-1Y-f4h" secondAttribute="trailing" constant="5" id="1Qe-bg-QJ0"/>
  81. <constraint firstItem="tJg-rp-csT" firstAttribute="leading" secondItem="7Vp-13-PyP" secondAttribute="trailing" priority="750" constant="7" id="4m9-ZO-wuT"/>
  82. <constraint firstAttribute="centerY" secondItem="MJc-Lj-1A5" secondAttribute="centerY" id="Aa6-9f-96F"/>
  83. <constraint firstItem="lWT-Df-Byc" firstAttribute="leading" secondItem="oc7-kf-peg" secondAttribute="leading" constant="5" id="GyP-3u-tsG"/>
  84. <constraint firstAttribute="centerY" secondItem="lWT-Df-Byc" secondAttribute="centerY" id="Z6T-ou-Pvm"/>
  85. <constraint firstItem="dCu-1Y-f4h" firstAttribute="leading" secondItem="tJg-rp-csT" secondAttribute="trailing" priority="750" constant="8" id="e91-ZX-bNq"/>
  86. <constraint firstAttribute="centerY" secondItem="tJg-rp-csT" secondAttribute="centerY" id="hqn-V1-zkD"/>
  87. <constraint firstAttribute="trailing" secondItem="MJc-Lj-1A5" secondAttribute="trailing" constant="5" id="kVg-n9-9Kf"/>
  88. <constraint firstAttribute="height" constant="44" id="mLK-Km-n5G"/>
  89. <constraint firstAttribute="centerY" secondItem="dCu-1Y-f4h" secondAttribute="centerY" id="o4Y-ym-9zZ"/>
  90. <constraint firstItem="7Vp-13-PyP" firstAttribute="leading" secondItem="lWT-Df-Byc" secondAttribute="trailing" constant="5" id="xKW-vM-AH5"/>
  91. <constraint firstAttribute="centerY" secondItem="7Vp-13-PyP" secondAttribute="centerY" id="xkk-d8-cg2"/>
  92. </constraints>
  93. </view>
  94. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GIL-kJ-GRw">
  95. <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
  96. <subviews>
  97. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gwr-a1-XwM">
  98. <rect key="frame" x="240" y="4" width="35" height="35"/>
  99. <animations/>
  100. <constraints>
  101. <constraint firstAttribute="height" constant="35" id="DdA-mY-0fd"/>
  102. <constraint firstAttribute="width" constant="35" id="Gi1-uZ-3x5"/>
  103. </constraints>
  104. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  105. <state key="normal">
  106. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  107. </state>
  108. <connections>
  109. <action selector="repeatButtonPressed:" destination="1hC-He-NDs" eventType="touchUpInside" id="PR5-Cb-hj1"/>
  110. </connections>
  111. </button>
  112. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gdm-wB-X2t">
  113. <rect key="frame" x="273" y="4" width="35" height="35"/>
  114. <animations/>
  115. <constraints>
  116. <constraint firstAttribute="width" constant="35" id="4cF-3j-vMh"/>
  117. <constraint firstAttribute="height" constant="35" id="kS2-Ah-NpT"/>
  118. </constraints>
  119. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  120. <state key="normal">
  121. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  122. </state>
  123. <connections>
  124. <action selector="shuffleButtonPressed:" destination="1hC-He-NDs" eventType="touchUpInside" id="WQD-hl-85t"/>
  125. </connections>
  126. </button>
  127. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9Qi-Gq-8h6">
  128. <rect key="frame" x="51" y="11" width="181" height="21"/>
  129. <animations/>
  130. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  131. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  132. <nil key="highlightedColor"/>
  133. </label>
  134. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Xbe-CP-Is5">
  135. <rect key="frame" x="8" y="4" width="35" height="35"/>
  136. <animations/>
  137. <constraints>
  138. <constraint firstAttribute="height" constant="35" id="AuO-11-G8A"/>
  139. <constraint firstAttribute="width" constant="35" id="TF0-cD-vsO"/>
  140. </constraints>
  141. <state key="normal">
  142. <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  143. </state>
  144. </button>
  145. </subviews>
  146. <animations/>
  147. <color key="backgroundColor" cocoaTouchSystemColor="darkTextColor"/>
  148. <constraints>
  149. <constraint firstItem="9Qi-Gq-8h6" firstAttribute="top" secondItem="GIL-kJ-GRw" secondAttribute="top" constant="11" id="5EV-RQ-nTc"/>
  150. <constraint firstAttribute="centerY" secondItem="gwr-a1-XwM" secondAttribute="centerY" id="8U3-RP-BCS"/>
  151. <constraint firstItem="Xbe-CP-Is5" firstAttribute="leading" secondItem="GIL-kJ-GRw" secondAttribute="leading" constant="8" id="BJa-Pf-HsP"/>
  152. <constraint firstAttribute="trailing" secondItem="gdm-wB-X2t" secondAttribute="trailing" constant="12" id="D6O-mp-kdP"/>
  153. <constraint firstAttribute="centerY" secondItem="Xbe-CP-Is5" secondAttribute="centerY" id="Gen-x5-5si"/>
  154. <constraint firstItem="gdm-wB-X2t" firstAttribute="leading" secondItem="gwr-a1-XwM" secondAttribute="trailing" constant="-2" id="LKy-CR-E7x"/>
  155. <constraint firstItem="gwr-a1-XwM" firstAttribute="leading" secondItem="9Qi-Gq-8h6" secondAttribute="trailing" constant="8" id="NMf-rN-2LZ"/>
  156. <constraint firstAttribute="bottom" secondItem="9Qi-Gq-8h6" secondAttribute="bottom" constant="12" id="aus-9L-lpw"/>
  157. <constraint firstItem="9Qi-Gq-8h6" firstAttribute="leading" secondItem="Xbe-CP-Is5" secondAttribute="trailing" constant="8" id="dPd-Vu-4Ul"/>
  158. <constraint firstAttribute="height" constant="44" id="lSK-HM-Lxp"/>
  159. <constraint firstAttribute="centerY" secondItem="gdm-wB-X2t" secondAttribute="centerY" id="rep-eI-5fV"/>
  160. </constraints>
  161. </view>
  162. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KVB-cs-JcH">
  163. <rect key="frame" x="0.0" y="60" width="40" height="60"/>
  164. <subviews>
  165. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qWF-ZD-TKU">
  166. <rect key="frame" x="0.0" y="0.0" width="40" height="60"/>
  167. <animations/>
  168. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  169. <color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  170. <state key="normal" title="&lt;"/>
  171. </button>
  172. </subviews>
  173. <animations/>
  174. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  175. <constraints>
  176. <constraint firstAttribute="trailing" secondItem="qWF-ZD-TKU" secondAttribute="trailing" id="9sB-5g-AGt"/>
  177. <constraint firstItem="qWF-ZD-TKU" firstAttribute="leading" secondItem="KVB-cs-JcH" secondAttribute="leading" id="G3s-5e-tXM"/>
  178. <constraint firstAttribute="height" constant="60" id="KFU-0f-sbL"/>
  179. <constraint firstAttribute="width" constant="40" id="aLT-vd-fDt"/>
  180. <constraint firstAttribute="bottom" secondItem="qWF-ZD-TKU" secondAttribute="bottom" id="ars-b6-UsB"/>
  181. <constraint firstItem="qWF-ZD-TKU" firstAttribute="top" secondItem="KVB-cs-JcH" secondAttribute="top" id="fdN-IR-owH"/>
  182. </constraints>
  183. </view>
  184. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EsM-nS-vku">
  185. <rect key="frame" x="280" y="60" width="40" height="60"/>
  186. <subviews>
  187. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zy1-iS-KVp">
  188. <rect key="frame" x="0.0" y="0.0" width="40" height="60"/>
  189. <animations/>
  190. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  191. <color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  192. <state key="normal" title="&gt;"/>
  193. </button>
  194. </subviews>
  195. <animations/>
  196. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  197. <constraints>
  198. <constraint firstAttribute="bottom" secondItem="zy1-iS-KVp" secondAttribute="bottom" id="5P2-aL-2Mg"/>
  199. <constraint firstAttribute="height" constant="60" id="Aka-6b-nJP"/>
  200. <constraint firstAttribute="width" constant="40" id="DPD-LK-uqe"/>
  201. <constraint firstAttribute="trailing" secondItem="zy1-iS-KVp" secondAttribute="trailing" id="Gfm-sb-b3O"/>
  202. <constraint firstItem="zy1-iS-KVp" firstAttribute="leading" secondItem="EsM-nS-vku" secondAttribute="leading" id="HN0-cl-Pjp"/>
  203. <constraint firstItem="zy1-iS-KVp" firstAttribute="top" secondItem="EsM-nS-vku" secondAttribute="top" id="YL4-tY-JVG"/>
  204. </constraints>
  205. </view>
  206. </subviews>
  207. <animations/>
  208. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  209. <constraints>
  210. <constraint firstItem="077-OQ-G8z" firstAttribute="leading" secondItem="1hC-He-NDs" secondAttribute="leading" id="3CQ-UC-HQH"/>
  211. <constraint firstAttribute="trailing" secondItem="EsM-nS-vku" secondAttribute="trailing" id="5UB-O3-88A"/>
  212. <constraint firstItem="077-OQ-G8z" firstAttribute="top" secondItem="GIL-kJ-GRw" secondAttribute="top" id="Eua-v5-Vjh"/>
  213. <constraint firstAttribute="trailing" secondItem="oc7-kf-peg" secondAttribute="trailing" id="Mbo-TJ-bhY"/>
  214. <constraint firstAttribute="trailing" secondItem="077-OQ-G8z" secondAttribute="trailing" id="P81-MF-TC8"/>
  215. <constraint firstItem="KVB-cs-JcH" firstAttribute="leading" secondItem="1hC-He-NDs" secondAttribute="leading" id="RSk-dt-5tT"/>
  216. <constraint firstAttribute="trailing" secondItem="GIL-kJ-GRw" secondAttribute="trailing" id="V5n-Y2-znX"/>
  217. <constraint firstItem="oc7-kf-peg" firstAttribute="leading" secondItem="1hC-He-NDs" secondAttribute="leading" id="Vzb-MO-TOX"/>
  218. <constraint firstItem="077-OQ-G8z" firstAttribute="top" secondItem="1hC-He-NDs" secondAttribute="top" id="hKq-gd-WE6"/>
  219. <constraint firstAttribute="centerY" secondItem="EsM-nS-vku" secondAttribute="centerY" id="lSO-qw-6Pr"/>
  220. <constraint firstItem="GIL-kJ-GRw" firstAttribute="top" secondItem="1hC-He-NDs" secondAttribute="top" id="pYr-FF-FBu"/>
  221. <constraint firstAttribute="bottom" secondItem="077-OQ-G8z" secondAttribute="bottom" id="q7c-z1-0ry"/>
  222. <constraint firstAttribute="centerX" secondItem="077-OQ-G8z" secondAttribute="centerX" id="qXo-wX-bQC"/>
  223. <constraint firstAttribute="centerY" secondItem="KVB-cs-JcH" secondAttribute="centerY" id="tfo-Z7-HDJ"/>
  224. <constraint firstItem="GIL-kJ-GRw" firstAttribute="leading" secondItem="1hC-He-NDs" secondAttribute="leading" id="wKB-kG-MDX"/>
  225. <constraint firstAttribute="bottom" secondItem="oc7-kf-peg" secondAttribute="bottom" id="wMT-nA-3u7"/>
  226. </constraints>
  227. <nil key="simulatedStatusBarMetrics"/>
  228. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  229. <connections>
  230. <outlet property="actionButtonRightMergin" destination="dPd-Vu-4Ul" id="tl6-wA-ktN"/>
  231. <outlet property="actionButtonWidth_" destination="TF0-cD-vsO" id="MZB-yc-oWV"/>
  232. <outlet property="actionButton_" destination="Xbe-CP-Is5" id="1vZ-tI-63l"/>
  233. <outlet property="artworkImageView_" destination="077-OQ-G8z" id="GvA-H8-HRb"/>
  234. <outlet property="currentTimeSlider" destination="tJg-rp-csT" id="Ycb-MT-Xux"/>
  235. <outlet property="footerView_" destination="oc7-kf-peg" id="lHD-pN-eyY"/>
  236. <outlet property="fullscreenButton_" destination="MJc-Lj-1A5" id="eXw-RI-z30"/>
  237. <outlet property="headerView_" destination="GIL-kJ-GRw" id="rId-yg-Edo"/>
  238. <outlet property="nextButton" destination="zy1-iS-KVp" id="sBg-DL-vum"/>
  239. <outlet property="playButton_" destination="lWT-Df-Byc" id="IxQ-r6-Rbc"/>
  240. <outlet property="playbackTimeLabel_" destination="7Vp-13-PyP" id="IMr-Y3-nNp"/>
  241. <outlet property="previousButton" destination="qWF-ZD-TKU" id="rsY-Eh-HzY"/>
  242. <outlet property="remainingTimeLabel_" destination="dCu-1Y-f4h" id="rmY-Cx-VRN"/>
  243. <outlet property="repeatButton_" destination="gwr-a1-XwM" id="60j-ab-ggg"/>
  244. <outlet property="shuffleButton_" destination="gdm-wB-X2t" id="hap-jQ-Sd4"/>
  245. <outlet property="titleLabel" destination="9Qi-Gq-8h6" id="LcN-IL-tU1"/>
  246. </connections>
  247. <point key="canvasLocation" x="301" y="749"/>
  248. </view>
  249. </objects>
  250. </document>