NCAudioRecorderViewController.storyboard 11 KB

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