PlayRecordAudioView.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" variant="6xAndEarlier" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="PlayRecordAudioViewController">
  14. <connections>
  15. <outlet property="audioView" destination="H6B-0z-z3V" id="ut3-Ii-3kT"/>
  16. <outlet property="view" destination="H6B-0z-z3V" id="Z4G-bu-b0w"/>
  17. </connections>
  18. </placeholder>
  19. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  20. <view clipsSubviews="YES" contentMode="scaleToFill" id="H6B-0z-z3V" customClass="PlayRecordAudioView">
  21. <rect key="frame" x="0.0" y="0.0" width="250" height="128"/>
  22. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
  23. <subviews>
  24. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lrD-MY-A3q">
  25. <rect key="frame" x="0.0" y="0.0" width="250" height="80"/>
  26. <subviews>
  27. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AQm-kP-3Wn" customClass="RecordingMeterGraph">
  28. <rect key="frame" x="20" y="14" width="210" height="40"/>
  29. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  30. </view>
  31. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="00:00" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sou-A7-xna" customClass="LazyAccessibilityLabel">
  32. <rect key="frame" x="8" y="62" width="41.5" height="18"/>
  33. <fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
  34. <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="00:00" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="a4Z-Qv-3BY" customClass="LazyAccessibilityLabel">
  38. <rect key="frame" x="200.5" y="62" width="41.5" height="18"/>
  39. <fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
  40. <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. </subviews>
  44. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  45. <constraints>
  46. <constraint firstAttribute="bottom" secondItem="Sou-A7-xna" secondAttribute="bottom" id="29H-WD-5J6"/>
  47. <constraint firstAttribute="trailing" secondItem="a4Z-Qv-3BY" secondAttribute="trailing" constant="8" id="M53-t3-yIL"/>
  48. <constraint firstItem="AQm-kP-3Wn" firstAttribute="leading" secondItem="lrD-MY-A3q" secondAttribute="leadingMargin" constant="12" id="Pyc-uq-dRd"/>
  49. <constraint firstAttribute="bottom" secondItem="a4Z-Qv-3BY" secondAttribute="bottom" id="Qft-iu-42G"/>
  50. <constraint firstAttribute="trailingMargin" secondItem="AQm-kP-3Wn" secondAttribute="trailing" constant="12" id="SFC-yc-UAh"/>
  51. <constraint firstItem="Sou-A7-xna" firstAttribute="leading" secondItem="lrD-MY-A3q" secondAttribute="leading" constant="8" id="TO3-Cx-6Ym"/>
  52. <constraint firstItem="AQm-kP-3Wn" firstAttribute="top" secondItem="lrD-MY-A3q" secondAttribute="topMargin" constant="6" id="Vp6-N1-Ad1"/>
  53. <constraint firstAttribute="bottom" secondItem="AQm-kP-3Wn" secondAttribute="bottom" constant="26" id="dpY-Dl-Bav"/>
  54. <constraint firstAttribute="height" constant="80" id="ld3-qb-hee"/>
  55. </constraints>
  56. </view>
  57. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JDg-2O-MGc">
  58. <rect key="frame" x="0.0" y="80" width="250" height="48"/>
  59. <subviews>
  60. <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Yed-9f-JGK" userLabel="Horizontal Divider" customClass="HairlineView">
  61. <rect key="frame" x="0.0" y="0.0" width="250" height="1"/>
  62. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  63. <color key="backgroundColor" red="0.73699933290481567" green="0.73166358470916748" blue="0.75551497936248779" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  64. </view>
  65. <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oxA-2H-2Yw" userLabel="Vertical Divider" customClass="HairlineView">
  66. <rect key="frame" x="160" y="0.0" width="1" height="48"/>
  67. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  68. <color key="backgroundColor" red="0.73699933290481567" green="0.73166358470916748" blue="0.75551497936248779" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  69. </view>
  70. <button contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wuU-Rb-fJO" customClass="HighlightButton">
  71. <rect key="frame" x="160" y="1" width="90" height="47"/>
  72. <constraints>
  73. <constraint firstAttribute="width" constant="90" id="EyT-Mt-weD"/>
  74. </constraints>
  75. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  76. <state key="normal" title="Send">
  77. <color key="titleColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  78. <color key="titleShadowColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  79. </state>
  80. <state key="disabled">
  81. <color key="titleColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  82. </state>
  83. <connections>
  84. <action selector="sendButtonPressed:" destination="-1" eventType="touchUpInside" id="W25-qT-ICA"/>
  85. </connections>
  86. </button>
  87. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Pjl-Pe-1Qg">
  88. <rect key="frame" x="0.0" y="0.0" width="161" height="48"/>
  89. <subviews>
  90. <button opaque="NO" tag="2" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="fill" contentVerticalAlignment="fill" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="k7u-Y3-Um7">
  91. <rect key="frame" x="22" y="1" width="46" height="46"/>
  92. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  93. <inset key="imageEdgeInsets" minX="6" minY="6" maxX="6" maxY="6"/>
  94. <state key="normal" image="Record"/>
  95. <connections>
  96. <action selector="recordButtonPressed:" destination="-1" eventType="touchUpInside" id="edg-Nf-Sy0"/>
  97. </connections>
  98. </button>
  99. <button opaque="NO" tag="3" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="fill" contentVerticalAlignment="fill" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HJ7-3v-rtF">
  100. <rect key="frame" x="92" y="1" width="46" height="46"/>
  101. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  102. <inset key="imageEdgeInsets" minX="6" minY="6" maxX="6" maxY="6"/>
  103. <state key="normal" image="Play"/>
  104. <connections>
  105. <action selector="playPauseStopButtonPressed:" destination="-1" eventType="touchUpInside" id="fsm-0O-v70"/>
  106. </connections>
  107. </button>
  108. </subviews>
  109. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  110. </view>
  111. </subviews>
  112. <color key="backgroundColor" red="0.97547978940217395" green="0.97547978940217395" blue="0.97547978940217395" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  113. <constraints>
  114. <constraint firstItem="Pjl-Pe-1Qg" firstAttribute="top" secondItem="JDg-2O-MGc" secondAttribute="top" id="1iq-TP-Lmc"/>
  115. <constraint firstItem="wuU-Rb-fJO" firstAttribute="top" secondItem="JDg-2O-MGc" secondAttribute="top" constant="1" id="3eY-P8-tIm"/>
  116. <constraint firstAttribute="trailing" secondItem="wuU-Rb-fJO" secondAttribute="trailing" id="Frs-lw-V4m"/>
  117. <constraint firstItem="Pjl-Pe-1Qg" firstAttribute="leading" secondItem="JDg-2O-MGc" secondAttribute="leading" id="U8S-n1-Rcm"/>
  118. <constraint firstAttribute="height" constant="48" id="ULt-gX-p95"/>
  119. <constraint firstItem="wuU-Rb-fJO" firstAttribute="leading" secondItem="Pjl-Pe-1Qg" secondAttribute="trailing" constant="-1" id="aT2-O6-0LC"/>
  120. <constraint firstAttribute="bottom" secondItem="wuU-Rb-fJO" secondAttribute="bottom" id="hzf-aR-xuV"/>
  121. <constraint firstAttribute="bottom" secondItem="Pjl-Pe-1Qg" secondAttribute="bottom" id="xCO-gB-hSp"/>
  122. </constraints>
  123. </view>
  124. </subviews>
  125. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  126. <constraints>
  127. <constraint firstItem="lrD-MY-A3q" firstAttribute="leading" secondItem="gMK-3D-vXx" secondAttribute="leading" id="7rr-gz-F7g"/>
  128. <constraint firstItem="lrD-MY-A3q" firstAttribute="top" secondItem="gMK-3D-vXx" secondAttribute="top" id="EWu-0t-AtY"/>
  129. <constraint firstItem="lrD-MY-A3q" firstAttribute="trailing" secondItem="gMK-3D-vXx" secondAttribute="trailing" id="JZf-K7-zwg"/>
  130. <constraint firstItem="JDg-2O-MGc" firstAttribute="bottom" secondItem="gMK-3D-vXx" secondAttribute="bottom" id="M53-ja-dR3"/>
  131. <constraint firstItem="JDg-2O-MGc" firstAttribute="trailing" secondItem="gMK-3D-vXx" secondAttribute="trailing" id="cQK-gZ-vW3"/>
  132. <constraint firstItem="JDg-2O-MGc" firstAttribute="leading" secondItem="gMK-3D-vXx" secondAttribute="leading" id="ikG-ZP-gs4"/>
  133. <constraint firstItem="JDg-2O-MGc" firstAttribute="top" secondItem="lrD-MY-A3q" secondAttribute="bottom" id="k0v-Nh-FWw"/>
  134. </constraints>
  135. <nil key="simulatedStatusBarMetrics"/>
  136. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  137. <viewLayoutGuide key="safeArea" id="gMK-3D-vXx"/>
  138. <connections>
  139. <outlet property="buttonView" destination="JDg-2O-MGc" id="Keb-5i-SmE"/>
  140. <outlet property="dataView" destination="lrD-MY-A3q" id="bec-wT-9bJ"/>
  141. <outlet property="durationLabel" destination="a4Z-Qv-3BY" id="7e8-c4-Tmw"/>
  142. <outlet property="graphView" destination="AQm-kP-3Wn" id="D5f-te-FhD"/>
  143. <outlet property="horizontalDividerLine" destination="Yed-9f-JGK" id="aua-pE-izy"/>
  144. <outlet property="playPauseStopButton" destination="HJ7-3v-rtF" id="R1c-jh-hiI"/>
  145. <outlet property="recordButton" destination="k7u-Y3-Um7" id="gEk-7k-Qen"/>
  146. <outlet property="sendButton" destination="wuU-Rb-fJO" id="TDw-QZ-D7W"/>
  147. <outlet property="timeCursorLabel" destination="Sou-A7-xna" id="hV3-2Q-HFI"/>
  148. <outlet property="verticalDividerLine" destination="oxA-2H-2Yw" id="jIu-cW-Pbs"/>
  149. </connections>
  150. <point key="canvasLocation" x="-23" y="-159"/>
  151. </view>
  152. </objects>
  153. <resources>
  154. <image name="Play" width="16" height="16"/>
  155. <image name="Record" width="16" height="16"/>
  156. </resources>
  157. </document>