HWAddFolderViewController.xib 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.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" customClass="HWAddFolderViewController">
  12. <connections>
  13. <outlet property="bgView" destination="zAT-kH-qAy" id="Sab-MA-bE5"/>
  14. <outlet property="textField" destination="CUH-Ud-qLV" id="3pH-Of-4C7"/>
  15. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  16. </connections>
  17. </placeholder>
  18. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  19. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  20. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  21. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  22. <subviews>
  23. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tDG-WE-ahH">
  24. <rect key="frame" x="0.0" y="44" width="414" height="44"/>
  25. <subviews>
  26. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Qsb-SE-K1s">
  27. <rect key="frame" x="0.0" y="0.0" width="76" height="44"/>
  28. <constraints>
  29. <constraint firstAttribute="width" constant="76" id="TcF-iH-4Fd"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  32. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  33. <state key="normal" title="取消">
  34. <color key="titleColor" red="0.23137254900000001" green="0.49803921569999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  35. </state>
  36. <connections>
  37. <action selector="cancelBtnClick:" destination="-1" eventType="touchUpInside" id="eBk-Wq-eht"/>
  38. </connections>
  39. </button>
  40. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Rsn-2X-Acp">
  41. <rect key="frame" x="338" y="0.0" width="76" height="44"/>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="76" id="2JM-op-wJS"/>
  44. </constraints>
  45. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  46. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  47. <state key="normal" title="完成">
  48. <color key="titleColor" red="0.23137254900000001" green="0.49803921569999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  49. </state>
  50. <connections>
  51. <action selector="sureBtnClick:" destination="-1" eventType="touchUpInside" id="p7j-Bu-nma"/>
  52. </connections>
  53. </button>
  54. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="新建文件夹" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sil-qq-dO0">
  55. <rect key="frame" x="163.5" y="11.5" width="87" height="21"/>
  56. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  57. <color key="textColor" red="1" green="1" blue="1" alpha="0.80000000000000004" colorSpace="custom" customColorSpace="sRGB"/>
  58. <nil key="highlightedColor"/>
  59. </label>
  60. </subviews>
  61. <color key="backgroundColor" red="0.1137254902" green="0.1176470588" blue="0.1215686275" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  62. <constraints>
  63. <constraint firstAttribute="bottom" secondItem="Rsn-2X-Acp" secondAttribute="bottom" id="3Dp-J4-9Le"/>
  64. <constraint firstAttribute="bottom" secondItem="Qsb-SE-K1s" secondAttribute="bottom" id="AdC-vL-89i"/>
  65. <constraint firstItem="sil-qq-dO0" firstAttribute="centerY" secondItem="tDG-WE-ahH" secondAttribute="centerY" id="Bun-Sj-aSi"/>
  66. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="44" id="ETr-UQ-vwM"/>
  67. <constraint firstAttribute="height" constant="44" id="FHc-eK-iOC"/>
  68. <constraint firstItem="Rsn-2X-Acp" firstAttribute="top" secondItem="tDG-WE-ahH" secondAttribute="top" id="NVY-hT-3R9"/>
  69. <constraint firstItem="Qsb-SE-K1s" firstAttribute="leading" secondItem="tDG-WE-ahH" secondAttribute="leading" id="WSk-Ba-AGS"/>
  70. <constraint firstAttribute="trailing" secondItem="Rsn-2X-Acp" secondAttribute="trailing" id="YZV-Ig-QDM"/>
  71. <constraint firstItem="Qsb-SE-K1s" firstAttribute="top" secondItem="tDG-WE-ahH" secondAttribute="top" id="gob-QI-Cou"/>
  72. <constraint firstItem="sil-qq-dO0" firstAttribute="centerX" secondItem="tDG-WE-ahH" secondAttribute="centerX" id="l6A-a5-JPC"/>
  73. </constraints>
  74. </view>
  75. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zAT-kH-qAy">
  76. <rect key="frame" x="20" y="108" width="374" height="50"/>
  77. <subviews>
  78. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入文件夹名称" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="CUH-Ud-qLV">
  79. <rect key="frame" x="10" y="0.0" width="363" height="50"/>
  80. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  81. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  82. <textInputTraits key="textInputTraits"/>
  83. </textField>
  84. </subviews>
  85. <color key="backgroundColor" red="0.1137254902" green="0.1176470588" blue="0.1215686275" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  86. <constraints>
  87. <constraint firstAttribute="height" constant="50" id="Ka1-Z5-XtR"/>
  88. <constraint firstAttribute="bottom" secondItem="CUH-Ud-qLV" secondAttribute="bottom" id="SbF-Qd-JgI"/>
  89. <constraint firstItem="CUH-Ud-qLV" firstAttribute="top" secondItem="zAT-kH-qAy" secondAttribute="top" id="Vrl-a4-Pu6"/>
  90. <constraint firstAttribute="trailing" secondItem="CUH-Ud-qLV" secondAttribute="trailing" constant="1" id="qTc-jt-wk4"/>
  91. <constraint firstItem="CUH-Ud-qLV" firstAttribute="leading" secondItem="zAT-kH-qAy" secondAttribute="leading" constant="10" id="txN-oo-LXt"/>
  92. </constraints>
  93. </view>
  94. </subviews>
  95. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  96. <color key="backgroundColor" red="0.062745098039215685" green="0.062745098039215685" blue="0.062745098039215685" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  97. <constraints>
  98. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="zAT-kH-qAy" secondAttribute="trailing" constant="20" id="8I1-94-ohg"/>
  99. <constraint firstItem="zAT-kH-qAy" firstAttribute="top" secondItem="tDG-WE-ahH" secondAttribute="bottom" constant="20" id="MwN-fo-ox6"/>
  100. <constraint firstItem="tDG-WE-ahH" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="NZB-hY-znV"/>
  101. <constraint firstItem="tDG-WE-ahH" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" id="bDR-bU-Ytn"/>
  102. <constraint firstItem="zAT-kH-qAy" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="cdd-8Y-YPe"/>
  103. <constraint firstItem="tDG-WE-ahH" firstAttribute="trailing" secondItem="Q5M-cg-NOt" secondAttribute="trailing" id="oWZ-MY-fMS"/>
  104. </constraints>
  105. <point key="canvasLocation" x="139" y="149"/>
  106. </view>
  107. </objects>
  108. </document>