NCAudioRecorderViewController.storyboard 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="9IE-bj-VJb">
  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="14460.20"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <scenes>
  12. <!--Audio Recorder View Controller-->
  13. <scene sceneID="eNh-2I-c1P">
  14. <objects>
  15. <viewController storyboardIdentifier="RecorderViewController" modalPresentationStyle="currentContext" id="9IE-bj-VJb" customClass="NCAudioRecorderViewController" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  16. <layoutGuides>
  17. <viewControllerLayoutGuide type="top" id="fma-yb-dlL"/>
  18. <viewControllerLayoutGuide type="bottom" id="6hQ-x4-s9V"/>
  19. </layoutGuides>
  20. <view key="view" contentMode="scaleToFill" id="tQN-Gk-6M1">
  21. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tRu-33-Q2b" userLabel="buttonView">
  25. <rect key="frame" x="0.0" y="20" width="375" height="647"/>
  26. <connections>
  27. <action selector="touchViewController" destination="9IE-bj-VJb" eventType="touchUpInside" id="Dex-dc-29L"/>
  28. </connections>
  29. </button>
  30. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ztv-M0-yUI" userLabel="contentContainerView">
  31. <rect key="frame" x="87.5" y="208.5" width="200" height="250"/>
  32. <subviews>
  33. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vr6-IX-Yee" customClass="VoiceRecordHUD" customModule="Nextcloud" customModuleProvider="target">
  34. <rect key="frame" x="2" y="27" width="196" height="196"/>
  35. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  36. <constraints>
  37. <constraint firstAttribute="width" secondItem="vr6-IX-Yee" secondAttribute="height" id="c7R-AE-rou"/>
  38. </constraints>
  39. <userDefinedRuntimeAttributes>
  40. <userDefinedRuntimeAttribute type="number" keyPath="rate">
  41. <real key="value" value="0.5"/>
  42. </userDefinedRuntimeAttribute>
  43. <userDefinedRuntimeAttribute type="color" keyPath="fillColor">
  44. <color key="value" red="0.0" green="1" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  45. </userDefinedRuntimeAttribute>
  46. </userDefinedRuntimeAttributes>
  47. </view>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="120″" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yIp-rq-klm">
  49. <rect key="frame" x="85" y="10" width="30" height="17"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  51. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="bottom" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Lnv-LR-qq5" userLabel="button">
  55. <rect key="frame" x="0.0" y="0.0" width="200" height="250"/>
  56. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  57. <state key="normal">
  58. <color key="titleColor" red="0.94117647059999998" green="0.91764705879999997" blue="0.85490196080000003" alpha="1" colorSpace="calibratedRGB"/>
  59. </state>
  60. <connections>
  61. <action selector="startStop" destination="9IE-bj-VJb" eventType="touchUpInside" id="B8V-Tg-Hbf"/>
  62. </connections>
  63. </button>
  64. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="tap to start" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3Wm-qO-FzJ" userLabel="start stop">
  65. <rect key="frame" x="64" y="225" width="72" height="17"/>
  66. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  67. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. </subviews>
  71. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  72. <constraints>
  73. <constraint firstItem="yIp-rq-klm" firstAttribute="top" secondItem="Ztv-M0-yUI" secondAttribute="top" constant="10" id="1S8-2v-d7k"/>
  74. <constraint firstItem="3Wm-qO-FzJ" firstAttribute="centerX" secondItem="Lnv-LR-qq5" secondAttribute="centerX" id="2UV-Gt-2oO"/>
  75. <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="vr6-IX-Yee" secondAttribute="trailing" id="6e6-C9-ZWQ"/>
  76. <constraint firstItem="yIp-rq-klm" firstAttribute="bottom" secondItem="vr6-IX-Yee" secondAttribute="top" id="E3m-Yu-zdJ"/>
  77. <constraint firstAttribute="height" constant="250" id="G5W-ie-MCH"/>
  78. <constraint firstItem="Lnv-LR-qq5" firstAttribute="leading" secondItem="Ztv-M0-yUI" secondAttribute="leading" id="JlM-Ww-iut"/>
  79. <constraint firstAttribute="bottom" secondItem="Lnv-LR-qq5" secondAttribute="bottom" id="Kzr-BQ-zK4"/>
  80. <constraint firstAttribute="trailing" secondItem="Lnv-LR-qq5" secondAttribute="trailing" id="NNn-Ce-Y8V"/>
  81. <constraint firstAttribute="width" constant="200" id="Qu2-eD-5VF"/>
  82. <constraint firstItem="vr6-IX-Yee" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Ztv-M0-yUI" secondAttribute="leading" id="Wmx-H6-3OK"/>
  83. <constraint firstAttribute="centerX" secondItem="vr6-IX-Yee" secondAttribute="centerX" id="Zvz-EB-nL6"/>
  84. <constraint firstItem="3Wm-qO-FzJ" firstAttribute="top" secondItem="Lnv-LR-qq5" secondAttribute="bottom" constant="-25" id="a8Q-Z1-NFp"/>
  85. <constraint firstAttribute="centerX" secondItem="yIp-rq-klm" secondAttribute="centerX" id="hwa-S6-oPz"/>
  86. <constraint firstAttribute="centerY" secondItem="vr6-IX-Yee" secondAttribute="centerY" id="iqe-Ov-fVD"/>
  87. <constraint firstItem="Lnv-LR-qq5" firstAttribute="top" secondItem="Ztv-M0-yUI" secondAttribute="top" id="mrG-va-2Su"/>
  88. </constraints>
  89. <userDefinedRuntimeAttributes>
  90. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  91. <integer key="value" value="10"/>
  92. </userDefinedRuntimeAttribute>
  93. </userDefinedRuntimeAttributes>
  94. </view>
  95. </subviews>
  96. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  97. <constraints>
  98. <constraint firstItem="Ztv-M0-yUI" firstAttribute="centerY" secondItem="tQN-Gk-6M1" secondAttribute="centerY" id="4ah-zH-qPv"/>
  99. <constraint firstItem="6hQ-x4-s9V" firstAttribute="top" secondItem="tRu-33-Q2b" secondAttribute="bottom" id="Iyw-Xf-NUq"/>
  100. <constraint firstItem="Ztv-M0-yUI" firstAttribute="centerX" secondItem="tQN-Gk-6M1" secondAttribute="centerX" id="QMu-hw-0s3"/>
  101. <constraint firstItem="tRu-33-Q2b" firstAttribute="leading" secondItem="tQN-Gk-6M1" secondAttribute="leading" id="iDG-p5-AZP"/>
  102. <constraint firstItem="tRu-33-Q2b" firstAttribute="top" secondItem="fma-yb-dlL" secondAttribute="bottom" id="rco-z5-Lgs"/>
  103. <constraint firstAttribute="trailing" secondItem="tRu-33-Q2b" secondAttribute="trailing" id="uMJ-XD-sjl"/>
  104. </constraints>
  105. </view>
  106. <connections>
  107. <outlet property="contentContainerView" destination="Ztv-M0-yUI" id="P6f-ew-Dyb"/>
  108. <outlet property="durationLabel" destination="yIp-rq-klm" id="a8F-JI-uNe"/>
  109. <outlet property="startStopLabel" destination="3Wm-qO-FzJ" id="2oa-5C-G2K"/>
  110. <outlet property="voiceRecordHUD" destination="vr6-IX-Yee" id="s4E-Ka-QV9"/>
  111. </connections>
  112. </viewController>
  113. <placeholder placeholderIdentifier="IBFirstResponder" id="Nq7-s5-9VP" userLabel="First Responder" sceneMemberID="firstResponder"/>
  114. </objects>
  115. <point key="canvasLocation" x="599" y="140"/>
  116. </scene>
  117. </scenes>
  118. </document>