NCRenameFile.storyboard 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="V0q-CP-xMJ">
  3. <device id="retina3_5" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <scenes>
  12. <!--Rename File-->
  13. <scene sceneID="L90-uG-f4z">
  14. <objects>
  15. <viewController id="V0q-CP-xMJ" customClass="NCRenameFile" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  16. <view key="view" contentMode="scaleToFill" id="gzh-6E-hc4">
  17. <rect key="frame" x="0.0" y="0.0" width="300" height="310"/>
  18. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  19. <subviews>
  20. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Rename" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nZr-nE-ths">
  21. <rect key="frame" x="20" y="15" width="260" height="18"/>
  22. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  23. <nil key="textColor"/>
  24. <nil key="highlightedColor"/>
  25. </label>
  26. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="t26-3S-4T4">
  27. <rect key="frame" x="80" y="48" width="140" height="140"/>
  28. <constraints>
  29. <constraint firstAttribute="width" constant="140" id="PaU-P7-coi"/>
  30. <constraint firstAttribute="height" constant="140" id="s6R-ay-3Ui"/>
  31. </constraints>
  32. </imageView>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FOZ-fs-k7i">
  34. <rect key="frame" x="210" y="212.5" width="10" height="21"/>
  35. <constraints>
  36. <constraint firstAttribute="width" constant="10" id="T5K-dj-AdT"/>
  37. </constraints>
  38. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  39. <nil key="textColor"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Q9G-gl-Fkc">
  43. <rect key="frame" x="220" y="206" width="60" height="34"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="60" id="6ga-cj-dYT"/>
  46. </constraints>
  47. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  48. <textInputTraits key="textInputTraits"/>
  49. </textField>
  50. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Ny2-wR-rxo">
  51. <rect key="frame" x="20" y="208" width="190" height="30"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="30" id="dBg-ka-5gB"/>
  54. </constraints>
  55. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  56. <textInputTraits key="textInputTraits"/>
  57. </textField>
  58. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7CJ-Q0-ABH" userLabel="SeparatorV">
  59. <rect key="frame" x="150" y="253.5" width="0.5" height="56.5"/>
  60. <color key="backgroundColor" systemColor="systemGray4Color"/>
  61. <constraints>
  62. <constraint firstAttribute="width" constant="0.5" id="wU1-tA-NZk"/>
  63. </constraints>
  64. </view>
  65. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ouH-gK-Guv" userLabel="SeparatorH">
  66. <rect key="frame" x="0.0" y="253" width="300" height="0.5"/>
  67. <color key="backgroundColor" systemColor="systemGray4Color"/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="0.5" id="2OQ-Mt-Gnh"/>
  70. </constraints>
  71. </view>
  72. <button opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="W5y-aT-UlI">
  73. <rect key="frame" x="0.0" y="253.5" width="150" height="56.5"/>
  74. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  75. <state key="normal" title="Cancel">
  76. <color key="titleColor" systemColor="systemBlueColor"/>
  77. </state>
  78. <connections>
  79. <action selector="cancel:" destination="V0q-CP-xMJ" eventType="touchUpInside" id="2u6-re-dJy"/>
  80. </connections>
  81. </button>
  82. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hcV-V0-eZB">
  83. <rect key="frame" x="150" y="253.5" width="150" height="56.5"/>
  84. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  85. <state key="normal" title="Rename">
  86. <color key="titleColor" systemColor="systemBlueColor"/>
  87. </state>
  88. <connections>
  89. <action selector="rename:" destination="V0q-CP-xMJ" eventType="touchUpInside" id="9tx-AQ-q6X"/>
  90. </connections>
  91. </button>
  92. </subviews>
  93. <viewLayoutGuide key="safeArea" id="1c1-7Q-WMG"/>
  94. <color key="backgroundColor" systemColor="systemGray6Color"/>
  95. <constraints>
  96. <constraint firstItem="Ny2-wR-rxo" firstAttribute="leading" secondItem="1c1-7Q-WMG" secondAttribute="leading" constant="20" id="0xL-8c-oLT"/>
  97. <constraint firstItem="hcV-V0-eZB" firstAttribute="top" secondItem="ouH-gK-Guv" secondAttribute="bottom" id="1MZ-1P-Ej1"/>
  98. <constraint firstItem="1c1-7Q-WMG" firstAttribute="bottom" secondItem="hcV-V0-eZB" secondAttribute="bottom" id="2Wh-Y6-n8F"/>
  99. <constraint firstItem="1c1-7Q-WMG" firstAttribute="bottom" secondItem="7CJ-Q0-ABH" secondAttribute="bottom" id="8HO-F9-tfD"/>
  100. <constraint firstItem="Q9G-gl-Fkc" firstAttribute="leading" secondItem="FOZ-fs-k7i" secondAttribute="trailing" id="9XT-FO-xYu"/>
  101. <constraint firstItem="ouH-gK-Guv" firstAttribute="leading" secondItem="1c1-7Q-WMG" secondAttribute="leading" id="A6T-ed-97T"/>
  102. <constraint firstItem="hcV-V0-eZB" firstAttribute="leading" secondItem="W5y-aT-UlI" secondAttribute="trailing" id="Aa4-Pg-Ioh"/>
  103. <constraint firstItem="1c1-7Q-WMG" firstAttribute="trailing" secondItem="Ny2-wR-rxo" secondAttribute="trailing" constant="90" id="BZO-yF-B1w"/>
  104. <constraint firstItem="1c1-7Q-WMG" firstAttribute="trailing" secondItem="nZr-nE-ths" secondAttribute="trailing" constant="20" id="DPW-MV-oKc"/>
  105. <constraint firstItem="7CJ-Q0-ABH" firstAttribute="centerX" secondItem="1c1-7Q-WMG" secondAttribute="centerX" id="EVx-ob-2bn"/>
  106. <constraint firstItem="Ny2-wR-rxo" firstAttribute="top" secondItem="t26-3S-4T4" secondAttribute="bottom" constant="20" id="Ggg-Yg-PBS"/>
  107. <constraint firstItem="nZr-nE-ths" firstAttribute="leading" secondItem="1c1-7Q-WMG" secondAttribute="leading" constant="20" id="SI9-xL-6s8"/>
  108. <constraint firstItem="Q9G-gl-Fkc" firstAttribute="centerY" secondItem="Ny2-wR-rxo" secondAttribute="centerY" id="ZYX-EF-MUc"/>
  109. <constraint firstItem="1c1-7Q-WMG" firstAttribute="bottom" secondItem="W5y-aT-UlI" secondAttribute="bottom" id="ai8-AR-XYe"/>
  110. <constraint firstItem="7CJ-Q0-ABH" firstAttribute="top" secondItem="ouH-gK-Guv" secondAttribute="bottom" id="an1-EN-YiB"/>
  111. <constraint firstItem="t26-3S-4T4" firstAttribute="top" secondItem="nZr-nE-ths" secondAttribute="bottom" constant="15" id="and-de-reg"/>
  112. <constraint firstItem="FOZ-fs-k7i" firstAttribute="centerY" secondItem="Ny2-wR-rxo" secondAttribute="centerY" id="bRG-fN-OJB"/>
  113. <constraint firstItem="1c1-7Q-WMG" firstAttribute="trailing" secondItem="W5y-aT-UlI" secondAttribute="trailing" multiplier="2" id="g0h-1g-A3R"/>
  114. <constraint firstItem="t26-3S-4T4" firstAttribute="centerX" secondItem="1c1-7Q-WMG" secondAttribute="centerX" id="gjy-i8-K5B"/>
  115. <constraint firstItem="1c1-7Q-WMG" firstAttribute="trailing" secondItem="hcV-V0-eZB" secondAttribute="trailing" id="heW-2p-hLJ"/>
  116. <constraint firstItem="ouH-gK-Guv" firstAttribute="top" secondItem="Ny2-wR-rxo" secondAttribute="bottom" constant="15" id="ilX-ml-Dce"/>
  117. <constraint firstItem="W5y-aT-UlI" firstAttribute="leading" secondItem="1c1-7Q-WMG" secondAttribute="leading" id="kw6-l5-CAR"/>
  118. <constraint firstItem="nZr-nE-ths" firstAttribute="top" secondItem="1c1-7Q-WMG" secondAttribute="top" constant="15" id="oyJ-sj-j5N"/>
  119. <constraint firstItem="1c1-7Q-WMG" firstAttribute="trailing" secondItem="ouH-gK-Guv" secondAttribute="trailing" id="r1N-R6-iZg"/>
  120. <constraint firstItem="W5y-aT-UlI" firstAttribute="top" secondItem="ouH-gK-Guv" secondAttribute="bottom" id="ywb-oW-pJe"/>
  121. <constraint firstItem="FOZ-fs-k7i" firstAttribute="leading" secondItem="Ny2-wR-rxo" secondAttribute="trailing" id="zTq-r2-mRv"/>
  122. </constraints>
  123. </view>
  124. <navigationItem key="navigationItem" id="Zon-2j-rsc"/>
  125. <size key="freeformSize" width="300" height="310"/>
  126. <connections>
  127. <outlet property="cancelButton" destination="W5y-aT-UlI" id="P9l-o1-miU"/>
  128. <outlet property="ext" destination="Q9G-gl-Fkc" id="YeW-bU-cMx"/>
  129. <outlet property="fileNameWithoutExt" destination="Ny2-wR-rxo" id="2Wq-hO-cwc"/>
  130. <outlet property="fileNameWithoutExtTrailingContraint" destination="BZO-yF-B1w" id="OBT-Ha-an7"/>
  131. <outlet property="point" destination="FOZ-fs-k7i" id="InG-ZA-GpE"/>
  132. <outlet property="previewFile" destination="t26-3S-4T4" id="aOo-XG-pom"/>
  133. <outlet property="renameButton" destination="hcV-V0-eZB" id="YGX-pw-OGW"/>
  134. <outlet property="titleLabel" destination="nZr-nE-ths" id="UbA-Dl-0Ad"/>
  135. </connections>
  136. </viewController>
  137. <placeholder placeholderIdentifier="IBFirstResponder" id="qdm-Cl-C5l" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
  138. </objects>
  139. <point key="canvasLocation" x="1453.125" y="133.75"/>
  140. </scene>
  141. </scenes>
  142. <resources>
  143. <systemColor name="systemBlueColor">
  144. <color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  145. </systemColor>
  146. <systemColor name="systemGray4Color">
  147. <color red="0.81960784313725488" green="0.81960784313725488" blue="0.83921568627450982" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  148. </systemColor>
  149. <systemColor name="systemGray6Color">
  150. <color red="0.94901960784313721" green="0.94901960784313721" blue="0.96862745098039216" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  151. </systemColor>
  152. </resources>
  153. </document>