O2MindMapAddLinkDialog.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19455" 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="19454"/>
  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. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="O2MindMapAddLinkDialog" customModule="O2Platform" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Lxx-c2-vVM">
  19. <rect key="frame" x="0.0" y="622" width="414" height="240"/>
  20. <subviews>
  21. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="SOX-Qd-GpX">
  22. <rect key="frame" x="345" y="10" width="53" height="31"/>
  23. <state key="normal" title="Button"/>
  24. <buttonConfiguration key="configuration" style="plain" title="确定">
  25. <backgroundConfiguration key="background" cornerRadius="4">
  26. <color key="backgroundColor" red="0.98431372549999996" green="0.2784313725" blue="0.2784313725" alpha="1" colorSpace="calibratedRGB"/>
  27. </backgroundConfiguration>
  28. <color key="baseForegroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  29. </buttonConfiguration>
  30. <connections>
  31. <action selector="clickSubmitBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="4XW-2d-5VM"/>
  32. </connections>
  33. </button>
  34. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="v7F-tQ-l1a">
  35. <rect key="frame" x="16" y="10" width="53" height="31"/>
  36. <state key="normal" title="Button"/>
  37. <buttonConfiguration key="configuration" style="plain" title="取消">
  38. <color key="baseForegroundColor" red="0.38431372549999998" green="0.38431372549999998" blue="0.38431372549999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  39. </buttonConfiguration>
  40. <connections>
  41. <action selector="clickCancelBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="sar-xe-h7q"/>
  42. </connections>
  43. </button>
  44. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="链接" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VmO-o1-mJr">
  45. <rect key="frame" x="191.5" y="16" width="31" height="18"/>
  46. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  47. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jzj-60-f5Y">
  51. <rect key="frame" x="24" y="66" width="366" height="48"/>
  52. <subviews>
  53. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="链接地址" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sR8-D9-jqt">
  54. <rect key="frame" x="0.0" y="15.5" width="58" height="17"/>
  55. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  56. <nil key="textColor"/>
  57. <nil key="highlightedColor"/>
  58. </label>
  59. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="请输入链接地址" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="2Ig-X4-ulz">
  60. <rect key="frame" x="68" y="5" width="288" height="38"/>
  61. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  62. <textInputTraits key="textInputTraits"/>
  63. </textField>
  64. </subviews>
  65. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  66. <constraints>
  67. <constraint firstItem="2Ig-X4-ulz" firstAttribute="top" secondItem="jzj-60-f5Y" secondAttribute="top" constant="5" id="B2H-Zw-RgT"/>
  68. <constraint firstItem="2Ig-X4-ulz" firstAttribute="leading" secondItem="sR8-D9-jqt" secondAttribute="trailing" constant="10" id="TZi-Rg-nV7"/>
  69. <constraint firstAttribute="height" constant="48" id="Y3F-gp-HY9"/>
  70. <constraint firstAttribute="bottom" secondItem="2Ig-X4-ulz" secondAttribute="bottom" constant="5" id="jUv-tV-PWF"/>
  71. <constraint firstItem="sR8-D9-jqt" firstAttribute="centerY" secondItem="jzj-60-f5Y" secondAttribute="centerY" id="kx8-D1-r7v"/>
  72. <constraint firstItem="sR8-D9-jqt" firstAttribute="leading" secondItem="jzj-60-f5Y" secondAttribute="leading" id="nPj-VB-Mvd"/>
  73. <constraint firstAttribute="trailing" secondItem="2Ig-X4-ulz" secondAttribute="trailing" constant="10" id="stw-Ul-9fs"/>
  74. </constraints>
  75. </view>
  76. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TId-ad-1Ki">
  77. <rect key="frame" x="24" y="122" width="366" height="48"/>
  78. <subviews>
  79. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="链接说明" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kc5-5r-ceU">
  80. <rect key="frame" x="0.0" y="15.5" width="58" height="17"/>
  81. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  82. <nil key="textColor"/>
  83. <nil key="highlightedColor"/>
  84. </label>
  85. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="可选,链接地址的说明文字" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="dIK-Da-DOb">
  86. <rect key="frame" x="68" y="5" width="288" height="38"/>
  87. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  88. <textInputTraits key="textInputTraits"/>
  89. </textField>
  90. </subviews>
  91. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  92. <constraints>
  93. <constraint firstItem="Kc5-5r-ceU" firstAttribute="centerY" secondItem="TId-ad-1Ki" secondAttribute="centerY" id="Cop-Rs-b8J"/>
  94. <constraint firstAttribute="trailing" secondItem="dIK-Da-DOb" secondAttribute="trailing" constant="10" id="HZX-sh-8DR"/>
  95. <constraint firstItem="Kc5-5r-ceU" firstAttribute="leading" secondItem="TId-ad-1Ki" secondAttribute="leading" id="LWg-bb-0XG"/>
  96. <constraint firstAttribute="bottom" secondItem="dIK-Da-DOb" secondAttribute="bottom" constant="5" id="bFV-wc-Ldn"/>
  97. <constraint firstAttribute="height" constant="48" id="h30-9h-cCV"/>
  98. <constraint firstItem="dIK-Da-DOb" firstAttribute="top" secondItem="TId-ad-1Ki" secondAttribute="top" constant="5" id="hCT-34-xPJ"/>
  99. <constraint firstItem="dIK-Da-DOb" firstAttribute="leading" secondItem="Kc5-5r-ceU" secondAttribute="trailing" constant="10" id="xl9-nV-1Bu"/>
  100. </constraints>
  101. </view>
  102. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="y4R-ZA-pOd">
  103. <rect key="frame" x="24" y="180" width="366" height="31"/>
  104. <state key="normal" title="Button"/>
  105. <buttonConfiguration key="configuration" style="plain" title="清除超链接">
  106. <color key="baseForegroundColor" red="0.98431372549999996" green="0.2784313725" blue="0.2784313725" alpha="1" colorSpace="calibratedRGB"/>
  107. </buttonConfiguration>
  108. <connections>
  109. <action selector="clickDeleteLinkBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="lTR-NP-1La"/>
  110. </connections>
  111. </button>
  112. </subviews>
  113. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  114. <constraints>
  115. <constraint firstItem="v7F-tQ-l1a" firstAttribute="leading" secondItem="Lxx-c2-vVM" secondAttribute="leading" constant="16" id="11b-ay-zos"/>
  116. <constraint firstItem="jzj-60-f5Y" firstAttribute="top" secondItem="VmO-o1-mJr" secondAttribute="bottom" constant="32" id="99d-gv-E65"/>
  117. <constraint firstItem="VmO-o1-mJr" firstAttribute="centerX" secondItem="Lxx-c2-vVM" secondAttribute="centerX" id="Bn9-Ow-cPJ"/>
  118. <constraint firstItem="v7F-tQ-l1a" firstAttribute="top" secondItem="Lxx-c2-vVM" secondAttribute="top" constant="10" id="Ew2-wt-T3x"/>
  119. <constraint firstItem="y4R-ZA-pOd" firstAttribute="top" secondItem="TId-ad-1Ki" secondAttribute="bottom" constant="10" id="FD8-Gv-grT"/>
  120. <constraint firstItem="VmO-o1-mJr" firstAttribute="top" secondItem="Lxx-c2-vVM" secondAttribute="top" constant="16" id="IRg-Cc-aWV"/>
  121. <constraint firstAttribute="trailing" secondItem="TId-ad-1Ki" secondAttribute="trailing" constant="24" id="Khi-Co-S5d"/>
  122. <constraint firstAttribute="height" constant="240" id="Mw3-bv-XGA"/>
  123. <constraint firstItem="jzj-60-f5Y" firstAttribute="leading" secondItem="Lxx-c2-vVM" secondAttribute="leading" constant="24" id="NLF-72-MET"/>
  124. <constraint firstAttribute="trailing" secondItem="y4R-ZA-pOd" secondAttribute="trailing" constant="24" id="NjS-bA-eWL"/>
  125. <constraint firstAttribute="trailing" secondItem="jzj-60-f5Y" secondAttribute="trailing" constant="24" id="Ntn-Tc-OpG"/>
  126. <constraint firstItem="SOX-Qd-GpX" firstAttribute="top" secondItem="Lxx-c2-vVM" secondAttribute="top" constant="10" id="RGp-ds-4Ll"/>
  127. <constraint firstItem="y4R-ZA-pOd" firstAttribute="leading" secondItem="Lxx-c2-vVM" secondAttribute="leading" constant="24" id="omF-tv-BPi"/>
  128. <constraint firstItem="TId-ad-1Ki" firstAttribute="leading" secondItem="Lxx-c2-vVM" secondAttribute="leading" constant="24" id="q8s-ZN-yrN"/>
  129. <constraint firstItem="TId-ad-1Ki" firstAttribute="top" secondItem="jzj-60-f5Y" secondAttribute="bottom" constant="8" id="rrv-sy-54k"/>
  130. <constraint firstAttribute="trailing" secondItem="SOX-Qd-GpX" secondAttribute="trailing" constant="16" id="yoU-ug-4oH"/>
  131. </constraints>
  132. </view>
  133. </subviews>
  134. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  135. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
  136. <constraints>
  137. <constraint firstItem="Lxx-c2-vVM" firstAttribute="trailing" secondItem="vUN-kp-3ea" secondAttribute="trailing" id="MAj-zh-tWg"/>
  138. <constraint firstItem="Lxx-c2-vVM" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="obu-Xt-kur"/>
  139. <constraint firstItem="Lxx-c2-vVM" firstAttribute="bottom" secondItem="vUN-kp-3ea" secondAttribute="bottom" id="uPo-wC-Igc"/>
  140. </constraints>
  141. <connections>
  142. <outlet property="bottomView" destination="Lxx-c2-vVM" id="AuZ-qH-6qV"/>
  143. <outlet property="bottomViewConstraint" destination="uPo-wC-Igc" id="lxl-7L-QFS"/>
  144. <outlet property="linkText" destination="2Ig-X4-ulz" id="9nF-pc-Sj5"/>
  145. <outlet property="linkTitleText" destination="dIK-Da-DOb" id="mTg-mY-6r4"/>
  146. <outlet property="submitBtn" destination="SOX-Qd-GpX" id="oHi-Pp-yiC"/>
  147. </connections>
  148. <point key="canvasLocation" x="131.8840579710145" y="120.53571428571428"/>
  149. </view>
  150. </objects>
  151. <resources>
  152. <systemColor name="systemBackgroundColor">
  153. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  154. </systemColor>
  155. </resources>
  156. </document>