Document.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11198.2" systemVersion="15G31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11198.2"/>
  6. </dependencies>
  7. <objects>
  8. <customObject id="-2" userLabel="File's Owner" customClass="Document" customModule="Sessions" customModuleProvider="target">
  9. <connections>
  10. <outlet property="connectionSelector" destination="1OY-DN-eH0" id="ocr-BZ-CYK"/>
  11. <outlet property="hostField" destination="CC5-lG-SHg" id="NmF-O4-YZS"/>
  12. <outlet property="portField" destination="UcK-N1-X16" id="c4C-sp-fUP"/>
  13. <outlet property="startButton" destination="E5S-Hy-mmH" id="Jfo-BH-G5z"/>
  14. <outlet property="textView" destination="Yd5-bB-slU" id="Y7U-iv-fdP"/>
  15. <outlet property="window" destination="xOd-HO-29H" id="JIz-fz-R2o"/>
  16. </connections>
  17. </customObject>
  18. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  19. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  20. <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="xOd-HO-29H" userLabel="Window">
  21. <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
  22. <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
  23. <rect key="contentRect" x="133" y="235" width="507" height="413"/>
  24. <rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
  25. <value key="minSize" type="size" width="94" height="86"/>
  26. <view key="contentView" wantsLayer="YES" id="gIp-Ho-8D9">
  27. <rect key="frame" x="0.0" y="0.0" width="507" height="413"/>
  28. <autoresizingMask key="autoresizingMask"/>
  29. <subviews>
  30. <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="CC5-lG-SHg">
  31. <rect key="frame" x="20" y="380" width="195" height="20"/>
  32. <constraints>
  33. <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="144" id="KzJ-HC-VqK"/>
  34. </constraints>
  35. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" title="localhost" placeholderString="hostname" drawsBackground="YES" id="tok-8n-FqT">
  36. <font key="font" metaFont="system"/>
  37. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  38. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  39. </textFieldCell>
  40. </textField>
  41. <segmentedControl verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="1OY-DN-eH0">
  42. <rect key="frame" x="301" y="378" width="110" height="24"/>
  43. <segmentedCell key="cell" borderStyle="border" alignment="left" style="rounded" trackingMode="selectOne" id="Egf-Zs-7qn">
  44. <font key="font" metaFont="system"/>
  45. <segments>
  46. <segment label="Client" width="52" selected="YES"/>
  47. <segment label="Server" width="51" tag="1"/>
  48. </segments>
  49. </segmentedCell>
  50. </segmentedControl>
  51. <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="LWX-9I-afj">
  52. <rect key="frame" x="0.0" y="367" width="507" height="5"/>
  53. </box>
  54. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="E5S-Hy-mmH">
  55. <rect key="frame" x="423" y="373" width="70" height="32"/>
  56. <buttonCell key="cell" type="push" title="Start" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="eLj-lV-IN7">
  57. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  58. <font key="font" metaFont="system"/>
  59. </buttonCell>
  60. <connections>
  61. <action selector="startButtonPressedWithSender:" target="-2" id="oDW-Oh-ihq"/>
  62. </connections>
  63. </button>
  64. <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="UcK-N1-X16">
  65. <rect key="frame" x="235" y="380" width="48" height="20"/>
  66. <constraints>
  67. <constraint firstAttribute="width" constant="48" id="v6k-Kj-Zr6"/>
  68. </constraints>
  69. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" title="9090" placeholderString="port" drawsBackground="YES" id="EyU-s3-DxA">
  70. <font key="font" metaFont="system"/>
  71. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  72. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  73. </textFieldCell>
  74. </textField>
  75. <scrollView horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VS0-1K-Kus">
  76. <rect key="frame" x="0.0" y="0.0" width="507" height="369"/>
  77. <clipView key="contentView" id="LDL-e7-bXC">
  78. <rect key="frame" x="1" y="1" width="505" height="367"/>
  79. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  80. <subviews>
  81. <textView importsGraphics="NO" usesFontPanel="YES" findStyle="panel" continuousSpellChecking="YES" allowsUndo="YES" usesRuler="YES" allowsNonContiguousLayout="YES" quoteSubstitution="YES" dashSubstitution="YES" spellingCorrection="YES" smartInsertDelete="YES" id="Yd5-bB-slU">
  82. <rect key="frame" x="0.0" y="0.0" width="505" height="367"/>
  83. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  84. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  85. <size key="minSize" width="505" height="367"/>
  86. <size key="maxSize" width="507" height="10000000"/>
  87. <color key="insertionPointColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  88. </textView>
  89. </subviews>
  90. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  91. </clipView>
  92. <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="oOz-FW-S7Q">
  93. <rect key="frame" x="-100" y="-100" width="87" height="18"/>
  94. <autoresizingMask key="autoresizingMask"/>
  95. </scroller>
  96. <scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="p6w-4H-7BO">
  97. <rect key="frame" x="490" y="1" width="16" height="367"/>
  98. <autoresizingMask key="autoresizingMask"/>
  99. </scroller>
  100. </scrollView>
  101. </subviews>
  102. <constraints>
  103. <constraint firstItem="VS0-1K-Kus" firstAttribute="leading" secondItem="gIp-Ho-8D9" secondAttribute="leading" id="8hJ-qX-d8n"/>
  104. <constraint firstItem="CC5-lG-SHg" firstAttribute="top" secondItem="gIp-Ho-8D9" secondAttribute="top" constant="13" id="9R2-Gw-e92"/>
  105. <constraint firstItem="UcK-N1-X16" firstAttribute="top" secondItem="gIp-Ho-8D9" secondAttribute="top" constant="13" id="Dej-zH-Dkf"/>
  106. <constraint firstItem="VS0-1K-Kus" firstAttribute="top" secondItem="LWX-9I-afj" secondAttribute="bottom" id="Haa-uL-ES9"/>
  107. <constraint firstItem="LWX-9I-afj" firstAttribute="top" secondItem="E5S-Hy-mmH" secondAttribute="bottom" constant="10" id="Ix1-A7-8nl"/>
  108. <constraint firstItem="LWX-9I-afj" firstAttribute="leading" secondItem="gIp-Ho-8D9" secondAttribute="leading" id="NRY-53-fus"/>
  109. <constraint firstItem="1OY-DN-eH0" firstAttribute="top" secondItem="gIp-Ho-8D9" secondAttribute="top" constant="12" id="Oyu-0Z-NKX"/>
  110. <constraint firstAttribute="trailing" secondItem="LWX-9I-afj" secondAttribute="trailing" id="S52-W2-Mqn"/>
  111. <constraint firstItem="E5S-Hy-mmH" firstAttribute="top" secondItem="gIp-Ho-8D9" secondAttribute="top" constant="12" id="Tqd-s6-xnH"/>
  112. <constraint firstItem="LWX-9I-afj" firstAttribute="top" secondItem="CC5-lG-SHg" secondAttribute="bottom" constant="10" id="Z7G-u8-6Db"/>
  113. <constraint firstItem="E5S-Hy-mmH" firstAttribute="leading" secondItem="1OY-DN-eH0" secondAttribute="trailing" constant="20" id="ZqA-Bd-5YD"/>
  114. <constraint firstItem="LWX-9I-afj" firstAttribute="top" secondItem="1OY-DN-eH0" secondAttribute="bottom" constant="10" id="aLa-uw-Dyz"/>
  115. <constraint firstAttribute="bottom" secondItem="VS0-1K-Kus" secondAttribute="bottom" id="bL1-Tk-U2a"/>
  116. <constraint firstItem="1OY-DN-eH0" firstAttribute="leading" secondItem="UcK-N1-X16" secondAttribute="trailing" constant="20" id="dXt-xd-47o"/>
  117. <constraint firstAttribute="trailing" secondItem="E5S-Hy-mmH" secondAttribute="trailing" constant="20" id="ec9-NQ-cPT"/>
  118. <constraint firstItem="LWX-9I-afj" firstAttribute="top" secondItem="UcK-N1-X16" secondAttribute="bottom" constant="10" id="r3k-rc-3aG"/>
  119. <constraint firstAttribute="trailing" secondItem="VS0-1K-Kus" secondAttribute="trailing" id="uAK-8g-CkK"/>
  120. <constraint firstItem="UcK-N1-X16" firstAttribute="leading" secondItem="CC5-lG-SHg" secondAttribute="trailing" constant="20" id="wyO-s3-j47"/>
  121. <constraint firstItem="CC5-lG-SHg" firstAttribute="leading" secondItem="gIp-Ho-8D9" secondAttribute="leading" constant="20" id="yCT-K7-nOp"/>
  122. </constraints>
  123. </view>
  124. <connections>
  125. <outlet property="delegate" destination="-2" id="0bl-1N-x8E"/>
  126. </connections>
  127. <point key="canvasLocation" x="130.5" y="175.5"/>
  128. </window>
  129. </objects>
  130. </document>