HWAddBookmarkViewController.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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="HWAddBookmarkViewController">
  12. <connections>
  13. <outlet property="bgView" destination="5gL-0C-RXn" id="Wr2-w6-ako"/>
  14. <outlet property="tableView" destination="aVS-Qt-yaV" id="3D9-TZ-9C8"/>
  15. <outlet property="titleTextField" destination="nPf-Te-zbz" id="p0H-B4-1zh"/>
  16. <outlet property="urlTextField" destination="ecV-ez-w8F" id="sou-Zx-88Q"/>
  17. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  18. </connections>
  19. </placeholder>
  20. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  21. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  22. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hOq-ex-W21">
  26. <rect key="frame" x="0.0" y="44" width="414" height="44"/>
  27. <subviews>
  28. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="PgS-xs-y9z">
  29. <rect key="frame" x="0.0" y="0.0" width="76" height="44"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="76" id="TEe-pN-lTO"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  34. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  35. <state key="normal" title="取消">
  36. <color key="titleColor" red="0.23137254900000001" green="0.49803921569999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  37. </state>
  38. <connections>
  39. <action selector="cancelBtnClick:" destination="-1" eventType="touchUpInside" id="VB7-Hb-xOJ"/>
  40. </connections>
  41. </button>
  42. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="B2I-hY-dQX">
  43. <rect key="frame" x="338" y="0.0" width="76" height="44"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="76" id="Tbd-nC-lFy"/>
  46. </constraints>
  47. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  48. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  49. <state key="normal" title="完成">
  50. <color key="titleColor" red="0.23137254900000001" green="0.49803921569999998" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  51. </state>
  52. <connections>
  53. <action selector="sureBtnClick:" destination="-1" eventType="touchUpInside" id="fQb-Yc-5Pl"/>
  54. </connections>
  55. </button>
  56. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="添加书签" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xzd-Nf-gC2">
  57. <rect key="frame" x="172.5" y="11.5" width="69.5" height="21"/>
  58. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  59. <color key="textColor" red="1" green="1" blue="1" alpha="0.80000000000000004" colorSpace="custom" customColorSpace="sRGB"/>
  60. <nil key="highlightedColor"/>
  61. </label>
  62. </subviews>
  63. <color key="backgroundColor" red="0.11372549019607843" green="0.11764705882352941" blue="0.12156862745098039" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  64. <constraints>
  65. <constraint firstAttribute="trailing" secondItem="B2I-hY-dQX" secondAttribute="trailing" id="3HM-Va-iZe"/>
  66. <constraint firstAttribute="height" constant="44" id="4mN-al-fJs"/>
  67. <constraint firstItem="PgS-xs-y9z" firstAttribute="leading" secondItem="hOq-ex-W21" secondAttribute="leading" id="UEN-p5-TcS"/>
  68. <constraint firstAttribute="bottom" secondItem="PgS-xs-y9z" secondAttribute="bottom" id="ZG8-7N-DAO"/>
  69. <constraint firstItem="PgS-xs-y9z" firstAttribute="top" secondItem="hOq-ex-W21" secondAttribute="top" id="erf-0M-PME"/>
  70. <constraint firstItem="xzd-Nf-gC2" firstAttribute="centerX" secondItem="hOq-ex-W21" secondAttribute="centerX" id="fa4-gP-cpJ"/>
  71. <constraint firstItem="xzd-Nf-gC2" firstAttribute="centerY" secondItem="hOq-ex-W21" secondAttribute="centerY" id="lph-xi-Sd2"/>
  72. <constraint firstItem="B2I-hY-dQX" firstAttribute="top" secondItem="hOq-ex-W21" secondAttribute="top" id="r1S-kK-SzF"/>
  73. <constraint firstAttribute="bottom" secondItem="B2I-hY-dQX" secondAttribute="bottom" id="xTW-RX-Amu"/>
  74. </constraints>
  75. </view>
  76. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5gL-0C-RXn">
  77. <rect key="frame" x="20" y="108" width="374" height="90"/>
  78. <subviews>
  79. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kBb-HW-ZU4">
  80. <rect key="frame" x="10" y="44.5" width="354" height="1"/>
  81. <color key="backgroundColor" red="1" green="1" blue="1" alpha="0.10000000000000001" colorSpace="custom" customColorSpace="sRGB"/>
  82. <constraints>
  83. <constraint firstAttribute="height" constant="1" id="rb5-a0-Kvg"/>
  84. </constraints>
  85. </view>
  86. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入标题" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="nPf-Te-zbz">
  87. <rect key="frame" x="10" y="0.0" width="354" height="44.5"/>
  88. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  89. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  90. <textInputTraits key="textInputTraits"/>
  91. </textField>
  92. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入网址" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="ecV-ez-w8F">
  93. <rect key="frame" x="10" y="45.5" width="354" height="44.5"/>
  94. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  95. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  96. <textInputTraits key="textInputTraits"/>
  97. </textField>
  98. </subviews>
  99. <color key="backgroundColor" red="0.1137254902" green="0.1176470588" blue="0.1215686275" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  100. <constraints>
  101. <constraint firstAttribute="height" constant="90" id="C5I-ru-jPG"/>
  102. <constraint firstItem="kBb-HW-ZU4" firstAttribute="leading" secondItem="5gL-0C-RXn" secondAttribute="leading" constant="10" id="D8R-Dg-ZWl"/>
  103. <constraint firstAttribute="trailing" secondItem="kBb-HW-ZU4" secondAttribute="trailing" constant="10" id="HZi-e6-3UE"/>
  104. <constraint firstItem="nPf-Te-zbz" firstAttribute="leading" secondItem="5gL-0C-RXn" secondAttribute="leading" constant="10" id="Lfx-nF-Ka0"/>
  105. <constraint firstItem="kBb-HW-ZU4" firstAttribute="centerY" secondItem="5gL-0C-RXn" secondAttribute="centerY" id="Y9e-jH-89g"/>
  106. <constraint firstItem="ecV-ez-w8F" firstAttribute="leading" secondItem="5gL-0C-RXn" secondAttribute="leading" constant="10" id="eQe-Z6-91L"/>
  107. <constraint firstAttribute="trailing" secondItem="nPf-Te-zbz" secondAttribute="trailing" constant="10" id="eey-GV-X6G"/>
  108. <constraint firstAttribute="bottom" secondItem="ecV-ez-w8F" secondAttribute="bottom" id="jMg-r1-xYr"/>
  109. <constraint firstItem="kBb-HW-ZU4" firstAttribute="top" secondItem="nPf-Te-zbz" secondAttribute="bottom" id="mOv-Pn-KJD"/>
  110. <constraint firstItem="ecV-ez-w8F" firstAttribute="top" secondItem="kBb-HW-ZU4" secondAttribute="bottom" id="o95-Q2-X7e"/>
  111. <constraint firstAttribute="trailing" secondItem="ecV-ez-w8F" secondAttribute="trailing" constant="10" id="vwH-X1-T8O"/>
  112. <constraint firstItem="nPf-Te-zbz" firstAttribute="top" secondItem="5gL-0C-RXn" secondAttribute="top" id="xOe-m1-GDM"/>
  113. </constraints>
  114. </view>
  115. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="位置" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rr8-2S-BPJ">
  116. <rect key="frame" x="20" y="213" width="27" height="16"/>
  117. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  118. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  119. <nil key="highlightedColor"/>
  120. </label>
  121. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="aVS-Qt-yaV">
  122. <rect key="frame" x="20" y="239" width="374" height="623"/>
  123. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  124. </tableView>
  125. </subviews>
  126. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  127. <color key="backgroundColor" red="0.062745098039215685" green="0.062745098039215685" blue="0.062745098039215685" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  128. <constraints>
  129. <constraint firstItem="aVS-Qt-yaV" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="0Kh-9w-90C"/>
  130. <constraint firstItem="hOq-ex-W21" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" id="Ec7-Ap-QB4"/>
  131. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="aVS-Qt-yaV" secondAttribute="trailing" constant="20" id="Hav-Ys-9T2"/>
  132. <constraint firstItem="5gL-0C-RXn" firstAttribute="top" secondItem="hOq-ex-W21" secondAttribute="bottom" constant="20" id="Lpd-lQ-NPb"/>
  133. <constraint firstItem="aVS-Qt-yaV" firstAttribute="top" secondItem="rr8-2S-BPJ" secondAttribute="bottom" constant="10" id="Tuk-7H-SbH"/>
  134. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="5gL-0C-RXn" secondAttribute="trailing" constant="20" id="XsJ-el-1Vg"/>
  135. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="hOq-ex-W21" secondAttribute="trailing" id="YvQ-tB-sWh"/>
  136. <constraint firstItem="Q5M-cg-NOt" firstAttribute="bottom" secondItem="aVS-Qt-yaV" secondAttribute="bottom" id="ZpO-aF-XQf"/>
  137. <constraint firstItem="5gL-0C-RXn" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="fpe-GX-8ne"/>
  138. <constraint firstItem="rr8-2S-BPJ" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="oKI-2F-Z0b"/>
  139. <constraint firstItem="rr8-2S-BPJ" firstAttribute="top" secondItem="5gL-0C-RXn" secondAttribute="bottom" constant="15" id="s3z-UI-eUb"/>
  140. <constraint firstItem="hOq-ex-W21" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="tw0-EA-DHX"/>
  141. </constraints>
  142. <point key="canvasLocation" x="137.68115942028987" y="132.58928571428572"/>
  143. </view>
  144. </objects>
  145. </document>