NCShareHeaderView.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_0" orientation="landscape" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="NCShareHeaderView" customModule="Nextcloud" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="510" height="160"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="79H-PA-1m2">
  18. <rect key="frame" x="10" y="10" width="70" height="70"/>
  19. <constraints>
  20. <constraint firstAttribute="height" constant="70" id="6Ia-AZ-nA8"/>
  21. <constraint firstAttribute="width" constant="70" id="ibY-W5-Q0w"/>
  22. </constraints>
  23. </imageView>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="headTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="n1G-pn-D8s" customClass="MarqueeLabel" customModule="MarqueeLabel">
  25. <rect key="frame" x="95" y="8" width="405" height="18"/>
  26. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  27. <nil key="textColor"/>
  28. <nil key="highlightedColor"/>
  29. <userDefinedRuntimeAttributes>
  30. <userDefinedRuntimeAttribute type="boolean" keyPath="tapToScroll" value="YES"/>
  31. </userDefinedRuntimeAttributes>
  32. </label>
  33. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EaW-fI-EmD">
  34. <rect key="frame" x="60" y="5" width="25" height="25"/>
  35. <constraints>
  36. <constraint firstAttribute="width" constant="25" id="GQs-ak-G4R"/>
  37. <constraint firstAttribute="height" constant="25" id="gFH-uD-FZ0"/>
  38. </constraints>
  39. <state key="normal" image="star.fill"/>
  40. <connections>
  41. <action selector="touchUpInsideFavorite:" destination="iN0-l3-epB" eventType="touchUpInside" id="r4F-nS-R08"/>
  42. </connections>
  43. </button>
  44. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bOQ-tC-40T">
  45. <rect key="frame" x="95" y="36" width="31" height="15"/>
  46. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  47. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9Ka-tq-Zu3">
  51. <rect key="frame" x="95" y="54" width="31" height="15"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  53. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fMu-na-A5C">
  57. <rect key="frame" x="95" y="72" width="31" height="15"/>
  58. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  59. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  60. <nil key="highlightedColor"/>
  61. </label>
  62. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zBQ-CU-9KH">
  63. <rect key="frame" x="450" y="33.5" width="50" height="20"/>
  64. <constraints>
  65. <constraint firstAttribute="width" constant="50" id="0dv-3H-XVk"/>
  66. <constraint firstAttribute="height" constant="20" id="UVW-of-LtA"/>
  67. </constraints>
  68. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  69. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  70. <state key="normal" title="Details"/>
  71. <connections>
  72. <action selector="touchUpInsideDetails:" destination="iN0-l3-epB" eventType="touchUpInside" id="6SM-Tx-oCY"/>
  73. </connections>
  74. </button>
  75. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Oip-s8-GXI" customClass="TagListView" customModule="TagListView">
  76. <rect key="frame" x="10" y="90" width="490" height="70"/>
  77. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  78. <userDefinedRuntimeAttributes>
  79. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  80. <real key="value" value="8"/>
  81. </userDefinedRuntimeAttribute>
  82. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  83. <real key="value" value="1"/>
  84. </userDefinedRuntimeAttribute>
  85. <userDefinedRuntimeAttribute type="color" keyPath="tagBackgroundColor">
  86. <color key="value" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  87. </userDefinedRuntimeAttribute>
  88. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  89. <color key="value" systemColor="systemGray5Color"/>
  90. </userDefinedRuntimeAttribute>
  91. <userDefinedRuntimeAttribute type="color" keyPath="textColor">
  92. <color key="value" systemColor="systemGrayColor"/>
  93. </userDefinedRuntimeAttribute>
  94. </userDefinedRuntimeAttributes>
  95. </view>
  96. </subviews>
  97. <constraints>
  98. <constraint firstAttribute="trailing" secondItem="n1G-pn-D8s" secondAttribute="trailing" constant="10" id="0ss-6p-laS"/>
  99. <constraint firstItem="fMu-na-A5C" firstAttribute="leading" secondItem="79H-PA-1m2" secondAttribute="trailing" constant="15" id="465-m3-yEK"/>
  100. <constraint firstItem="79H-PA-1m2" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="10" id="4s8-dQ-pZc"/>
  101. <constraint firstAttribute="trailing" secondItem="Oip-s8-GXI" secondAttribute="trailing" constant="10" id="5di-fM-tIx"/>
  102. <constraint firstItem="79H-PA-1m2" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="10" id="8Pt-Zl-gmo"/>
  103. <constraint firstItem="n1G-pn-D8s" firstAttribute="leading" secondItem="79H-PA-1m2" secondAttribute="trailing" constant="15" id="9E4-gA-8Pl"/>
  104. <constraint firstItem="fMu-na-A5C" firstAttribute="top" secondItem="9Ka-tq-Zu3" secondAttribute="bottom" constant="3" id="CDG-G0-9j0"/>
  105. <constraint firstItem="EaW-fI-EmD" firstAttribute="trailing" secondItem="79H-PA-1m2" secondAttribute="trailing" constant="5" id="CFN-yC-74Q"/>
  106. <constraint firstAttribute="bottom" secondItem="Oip-s8-GXI" secondAttribute="bottom" id="ExB-DE-fok"/>
  107. <constraint firstItem="zBQ-CU-9KH" firstAttribute="centerY" secondItem="bOQ-tC-40T" secondAttribute="centerY" id="LWk-jf-P5S"/>
  108. <constraint firstAttribute="trailing" secondItem="zBQ-CU-9KH" secondAttribute="trailing" constant="10" id="PRm-kq-66J"/>
  109. <constraint firstItem="9Ka-tq-Zu3" firstAttribute="top" secondItem="bOQ-tC-40T" secondAttribute="bottom" constant="3" id="RUS-Ib-asS"/>
  110. <constraint firstItem="bOQ-tC-40T" firstAttribute="leading" secondItem="79H-PA-1m2" secondAttribute="trailing" constant="15" id="X9i-0r-AYA"/>
  111. <constraint firstItem="9Ka-tq-Zu3" firstAttribute="leading" secondItem="79H-PA-1m2" secondAttribute="trailing" constant="15" id="boF-Gc-sBr"/>
  112. <constraint firstItem="bOQ-tC-40T" firstAttribute="top" secondItem="n1G-pn-D8s" secondAttribute="bottom" constant="10" id="dgl-uw-rsa"/>
  113. <constraint firstItem="Oip-s8-GXI" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="10" id="fi8-aR-NbH"/>
  114. <constraint firstItem="n1G-pn-D8s" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="8" id="gf7-1r-fAJ"/>
  115. <constraint firstItem="79H-PA-1m2" firstAttribute="top" secondItem="EaW-fI-EmD" secondAttribute="top" constant="5" id="nhT-z8-S6d"/>
  116. <constraint firstItem="Oip-s8-GXI" firstAttribute="top" secondItem="79H-PA-1m2" secondAttribute="bottom" constant="10" id="ypK-eu-qf2"/>
  117. </constraints>
  118. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  119. <connections>
  120. <outlet property="creation" destination="9Ka-tq-Zu3" id="ASk-yP-Tzw"/>
  121. <outlet property="details" destination="zBQ-CU-9KH" id="taT-D9-4PK"/>
  122. <outlet property="favorite" destination="EaW-fI-EmD" id="dv5-Qo-tPx"/>
  123. <outlet property="imageView" destination="79H-PA-1m2" id="t6m-wr-OQ5"/>
  124. <outlet property="info" destination="bOQ-tC-40T" id="N7R-YH-Xek"/>
  125. <outlet property="path" destination="n1G-pn-D8s" id="ckb-qc-lqb"/>
  126. <outlet property="tagListView" destination="Oip-s8-GXI" id="Dw8-uA-DCN"/>
  127. <outlet property="upload" destination="fMu-na-A5C" id="Eun-KE-xTc"/>
  128. </connections>
  129. <point key="canvasLocation" x="6.3380281690140849" y="101.25"/>
  130. </view>
  131. </objects>
  132. <designables>
  133. <designable name="n1G-pn-D8s">
  134. <size key="intrinsicContentSize" width="37.5" height="18"/>
  135. </designable>
  136. </designables>
  137. <resources>
  138. <image name="star.fill" width="512" height="512"/>
  139. <systemColor name="systemBackgroundColor">
  140. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  141. </systemColor>
  142. <systemColor name="systemGray5Color">
  143. <color red="0.89803921568627454" green="0.89803921568627454" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  144. </systemColor>
  145. <systemColor name="systemGrayColor">
  146. <color red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  147. </systemColor>
  148. </resources>
  149. </document>