HomeNavBar.xib 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
  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="HomeNavBar" customModule="JSJP_Student_sw" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="393" height="44"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zNw-wU-7jb" userLabel="View-content">
  19. <rect key="frame" x="0.0" y="0.0" width="393" height="44"/>
  20. <subviews>
  21. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tib-4M-xrA">
  22. <rect key="frame" x="15" y="7" width="30" height="30"/>
  23. <constraints>
  24. <constraint firstAttribute="width" constant="30" id="QAA-TJ-usy"/>
  25. <constraint firstAttribute="height" constant="30" id="jnd-Lf-0wy"/>
  26. </constraints>
  27. <state key="normal" title="Button"/>
  28. <buttonConfiguration key="configuration" style="plain" image="user_img"/>
  29. <userDefinedRuntimeAttributes>
  30. <userDefinedRuntimeAttribute type="number" keyPath="fontFitType">
  31. <integer key="value" value="0"/>
  32. </userDefinedRuntimeAttribute>
  33. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  34. <real key="value" value="15"/>
  35. </userDefinedRuntimeAttribute>
  36. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  37. <color key="value" systemColor="linkColor"/>
  38. </userDefinedRuntimeAttribute>
  39. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  40. <real key="value" value="1"/>
  41. </userDefinedRuntimeAttribute>
  42. </userDefinedRuntimeAttributes>
  43. </button>
  44. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XXR-be-CIp" userLabel="View-center">
  45. <rect key="frame" x="126.66666666666669" y="0.0" width="140" height="44"/>
  46. <subviews>
  47. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="jsjp_img" translatesAutoresizingMaskIntoConstraints="NO" id="1Iq-KY-jZm">
  48. <rect key="frame" x="13.999999999999986" y="14" width="80" height="16"/>
  49. <constraints>
  50. <constraint firstAttribute="width" constant="80" id="QBv-wX-fhX"/>
  51. <constraint firstAttribute="height" constant="16" id="ZCV-Ol-MUL"/>
  52. </constraints>
  53. </imageView>
  54. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="小车" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YQW-tW-0ax">
  55. <rect key="frame" x="101.99999999999999" y="13" width="48.000000000000014" height="18"/>
  56. <constraints>
  57. <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="48" id="aEG-Kh-onu"/>
  58. <constraint firstAttribute="height" constant="18" id="wSt-3b-PEr"/>
  59. </constraints>
  60. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
  61. <color key="textColor" red="0.36078431372549019" green="0.37647058823529411" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
  62. <nil key="highlightedColor"/>
  63. </label>
  64. </subviews>
  65. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  66. <constraints>
  67. <constraint firstItem="YQW-tW-0ax" firstAttribute="centerY" secondItem="XXR-be-CIp" secondAttribute="centerY" id="4nZ-Eh-IKK"/>
  68. <constraint firstAttribute="width" constant="140" id="Btr-Zi-d3z"/>
  69. <constraint firstItem="1Iq-KY-jZm" firstAttribute="leading" secondItem="XXR-be-CIp" secondAttribute="leading" constant="14" id="CU6-5k-WR6"/>
  70. <constraint firstItem="1Iq-KY-jZm" firstAttribute="centerY" secondItem="XXR-be-CIp" secondAttribute="centerY" id="LMb-pk-sxc"/>
  71. <constraint firstAttribute="height" constant="44" id="nmJ-kh-jx2"/>
  72. <constraint firstItem="YQW-tW-0ax" firstAttribute="leading" secondItem="1Iq-KY-jZm" secondAttribute="trailing" constant="8" symbolic="YES" id="yu3-NR-aiQ"/>
  73. </constraints>
  74. </view>
  75. </subviews>
  76. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  77. <constraints>
  78. <constraint firstItem="Tib-4M-xrA" firstAttribute="centerY" secondItem="zNw-wU-7jb" secondAttribute="centerY" id="23i-NJ-m8c"/>
  79. <constraint firstItem="Tib-4M-xrA" firstAttribute="leading" secondItem="zNw-wU-7jb" secondAttribute="leading" constant="15" id="8VR-Ch-s6v"/>
  80. <constraint firstItem="XXR-be-CIp" firstAttribute="top" secondItem="zNw-wU-7jb" secondAttribute="top" id="FX8-aw-3NJ"/>
  81. <constraint firstItem="XXR-be-CIp" firstAttribute="centerX" secondItem="zNw-wU-7jb" secondAttribute="centerX" id="N4p-ku-3Kh"/>
  82. </constraints>
  83. </view>
  84. </subviews>
  85. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  86. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  87. <constraints>
  88. <constraint firstItem="zNw-wU-7jb" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="CFR-JE-WeU"/>
  89. <constraint firstItem="zNw-wU-7jb" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="RTW-ga-VSS"/>
  90. <constraint firstItem="zNw-wU-7jb" firstAttribute="trailing" secondItem="vUN-kp-3ea" secondAttribute="trailing" id="pDs-fu-U7W"/>
  91. <constraint firstAttribute="bottom" secondItem="zNw-wU-7jb" secondAttribute="bottom" id="vDM-hX-aco"/>
  92. </constraints>
  93. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  94. <userDefinedRuntimeAttributes>
  95. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  96. <real key="value" value="0.0"/>
  97. </userDefinedRuntimeAttribute>
  98. </userDefinedRuntimeAttributes>
  99. <connections>
  100. <outlet property="logo_Icon_img" destination="1Iq-KY-jZm" id="Wyb-XH-cCC"/>
  101. <outlet property="title_txt_lab" destination="YQW-tW-0ax" id="As7-Ek-Nd6"/>
  102. <outlet property="user_Icon_btn" destination="Tib-4M-xrA" id="6Mm-69-5WO"/>
  103. </connections>
  104. <point key="canvasLocation" x="41.984732824427482" y="-11.267605633802818"/>
  105. </view>
  106. </objects>
  107. <resources>
  108. <image name="jsjp_img" width="80" height="16.333333969116211"/>
  109. <image name="user_img" width="69" height="69"/>
  110. <systemColor name="linkColor">
  111. <color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  112. </systemColor>
  113. <systemColor name="systemBackgroundColor">
  114. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  115. </systemColor>
  116. </resources>
  117. </document>