NavigationDemoVC.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <objects>
  9. <customObject id="-2" userLabel="File's Owner" customClass="NavigationDemoVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="navigationView" destination="xTv-kC-Kpe" id="fch-BC-QiQ"/>
  12. <outlet property="showIcon" destination="2lN-ft-gqn" id="lhi-Pd-QEi"/>
  13. <outlet property="textField" destination="zpU-tk-jTG" id="rEg-Mj-NAr"/>
  14. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  15. </connections>
  16. </customObject>
  17. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  18. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  19. <customView id="Hz6-mo-xeY">
  20. <rect key="frame" x="0.0" y="0.0" width="848" height="503"/>
  21. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  22. <subviews>
  23. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="ftZ-q0-Xw6">
  24. <rect key="frame" x="20" y="20" width="463" height="463"/>
  25. <view key="contentView" id="RPp-gz-ATn">
  26. <rect key="frame" x="1" y="1" width="461" height="461"/>
  27. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  28. <subviews>
  29. <customView translatesAutoresizingMaskIntoConstraints="NO" id="xTv-kC-Kpe" customClass="ComponentNavBarItem" customModule="KMComponentLibrary">
  30. <rect key="frame" x="125" y="215" width="200" height="32"/>
  31. <constraints>
  32. <constraint firstAttribute="width" constant="200" id="XNZ-Hb-Dye"/>
  33. <constraint firstAttribute="height" constant="32" id="bDb-ci-3j5"/>
  34. </constraints>
  35. </customView>
  36. </subviews>
  37. <constraints>
  38. <constraint firstItem="xTv-kC-Kpe" firstAttribute="centerY" secondItem="RPp-gz-ATn" secondAttribute="centerY" id="jRi-c4-VmS"/>
  39. <constraint firstItem="xTv-kC-Kpe" firstAttribute="centerX" secondItem="RPp-gz-ATn" secondAttribute="centerX" constant="-5.5" id="rM4-y7-ZsM"/>
  40. </constraints>
  41. </view>
  42. <constraints>
  43. <constraint firstAttribute="width" secondItem="ftZ-q0-Xw6" secondAttribute="height" multiplier="1:1" id="Pvf-r8-iC9"/>
  44. </constraints>
  45. </box>
  46. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="uZA-l6-d2q">
  47. <rect key="frame" x="503" y="20" width="325" height="463"/>
  48. <view key="contentView" id="1Bf-L1-jia">
  49. <rect key="frame" x="1" y="1" width="323" height="461"/>
  50. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  51. <subviews>
  52. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Yhi-1B-5DJ">
  53. <rect key="frame" x="20" y="197" width="283" height="67"/>
  54. <subviews>
  55. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2lN-ft-gqn">
  56. <rect key="frame" x="8" y="40" width="265" height="18"/>
  57. <buttonCell key="cell" type="check" title="Show Icon" bezelStyle="regularSquare" imagePosition="left" inset="2" id="CWP-op-aqm">
  58. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  59. <font key="font" metaFont="system"/>
  60. </buttonCell>
  61. <connections>
  62. <action selector="showIconAction:" target="-2" id="SxP-Ce-TNb"/>
  63. </connections>
  64. </button>
  65. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="way-H9-2ND">
  66. <rect key="frame" x="8" y="13" width="30" height="16"/>
  67. <textFieldCell key="cell" lineBreakMode="clipping" title="Text" id="7DR-OD-SrI">
  68. <font key="font" metaFont="system"/>
  69. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  70. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  71. </textFieldCell>
  72. </textField>
  73. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zpU-tk-jTG">
  74. <rect key="frame" x="46" y="10" width="227" height="21"/>
  75. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="Navigation Label" drawsBackground="YES" id="fDe-Rf-ej1">
  76. <font key="font" metaFont="system"/>
  77. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  78. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  79. </textFieldCell>
  80. </textField>
  81. </subviews>
  82. <constraints>
  83. <constraint firstItem="2lN-ft-gqn" firstAttribute="top" secondItem="Yhi-1B-5DJ" secondAttribute="top" constant="10" id="B2u-U2-Ul2"/>
  84. <constraint firstItem="zpU-tk-jTG" firstAttribute="centerY" secondItem="way-H9-2ND" secondAttribute="centerY" id="FXz-gh-LSW"/>
  85. <constraint firstItem="zpU-tk-jTG" firstAttribute="leading" secondItem="way-H9-2ND" secondAttribute="trailing" constant="10" id="GIM-ji-Lsq"/>
  86. <constraint firstAttribute="bottom" secondItem="zpU-tk-jTG" secondAttribute="bottom" constant="10" id="GfE-sC-VID"/>
  87. <constraint firstAttribute="trailing" secondItem="zpU-tk-jTG" secondAttribute="trailing" constant="10" id="M7p-HK-iWb"/>
  88. <constraint firstItem="2lN-ft-gqn" firstAttribute="leading" secondItem="Yhi-1B-5DJ" secondAttribute="leading" constant="10" id="Ykn-BP-FzE"/>
  89. <constraint firstItem="way-H9-2ND" firstAttribute="leading" secondItem="Yhi-1B-5DJ" secondAttribute="leading" constant="10" id="a7p-KF-XVk"/>
  90. <constraint firstAttribute="trailing" secondItem="2lN-ft-gqn" secondAttribute="trailing" constant="10" id="eBv-Mm-Vvg"/>
  91. <constraint firstItem="zpU-tk-jTG" firstAttribute="top" secondItem="2lN-ft-gqn" secondAttribute="bottom" constant="10" id="lqL-TC-K3Q"/>
  92. </constraints>
  93. </customView>
  94. </subviews>
  95. <constraints>
  96. <constraint firstAttribute="trailing" secondItem="Yhi-1B-5DJ" secondAttribute="trailing" constant="20" id="0Sz-4e-ost"/>
  97. <constraint firstItem="Yhi-1B-5DJ" firstAttribute="leading" secondItem="1Bf-L1-jia" secondAttribute="leading" constant="20" id="9Hu-uh-vaB"/>
  98. </constraints>
  99. </view>
  100. <constraints>
  101. <constraint firstItem="Yhi-1B-5DJ" firstAttribute="centerY" secondItem="uZA-l6-d2q" secondAttribute="centerY" id="PW8-YG-Qa4"/>
  102. </constraints>
  103. </box>
  104. </subviews>
  105. <constraints>
  106. <constraint firstItem="ftZ-q0-Xw6" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="2Ib-yA-7LO"/>
  107. <constraint firstAttribute="bottom" secondItem="uZA-l6-d2q" secondAttribute="bottom" constant="20" id="GIa-tH-Kmd"/>
  108. <constraint firstAttribute="trailing" secondItem="uZA-l6-d2q" secondAttribute="trailing" constant="20" id="blL-fO-yBl"/>
  109. <constraint firstAttribute="bottom" secondItem="ftZ-q0-Xw6" secondAttribute="bottom" constant="20" id="cWF-2z-u3i"/>
  110. <constraint firstItem="ftZ-q0-Xw6" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="dnO-K3-ygQ"/>
  111. <constraint firstItem="uZA-l6-d2q" firstAttribute="leading" secondItem="ftZ-q0-Xw6" secondAttribute="trailing" constant="20" id="xYj-xp-FZL"/>
  112. <constraint firstItem="uZA-l6-d2q" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="z6I-ep-qhQ"/>
  113. </constraints>
  114. <point key="canvasLocation" x="318" y="269.5"/>
  115. </customView>
  116. </objects>
  117. </document>