HomeCourseTipsView.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="20020"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.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"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeCourseTipsView">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="80"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3RJ-oY-GLg">
  18. <rect key="frame" x="14" y="10" width="386" height="60"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="user_default_avatal" translatesAutoresizingMaskIntoConstraints="NO" id="Jld-ti-AY3">
  21. <rect key="frame" x="7" y="6" width="48" height="48"/>
  22. <constraints>
  23. <constraint firstAttribute="width" constant="48" id="ofG-UR-djl"/>
  24. <constraint firstAttribute="height" constant="48" id="tML-m8-bbP"/>
  25. </constraints>
  26. <userDefinedRuntimeAttributes>
  27. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  28. <real key="value" value="24"/>
  29. </userDefinedRuntimeAttribute>
  30. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  31. <color key="value" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  32. </userDefinedRuntimeAttribute>
  33. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  34. <real key="value" value="2"/>
  35. </userDefinedRuntimeAttribute>
  36. </userDefinedRuntimeAttributes>
  37. </imageView>
  38. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="homeCourse_notice" translatesAutoresizingMaskIntoConstraints="NO" id="XLv-21-YKG">
  39. <rect key="frame" x="43" y="33" width="20" height="21"/>
  40. </imageView>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="竖笛直播课即将开始" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aJw-9X-t4v">
  42. <rect key="frame" x="70" y="11" width="199" height="17"/>
  43. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  44. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="今日 16:30-17:05" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o9U-Ig-hhv">
  48. <rect key="frame" x="70" y="39" width="97" height="15"/>
  49. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  50. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cQM-ma-gAP">
  54. <rect key="frame" x="295" y="14" width="72" height="32"/>
  55. <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  56. <constraints>
  57. <constraint firstAttribute="height" constant="32" id="RBt-J1-XKc"/>
  58. <constraint firstAttribute="width" constant="72" id="dFD-Cd-jeO"/>
  59. </constraints>
  60. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="13"/>
  61. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  62. <state key="normal" title="进入课堂"/>
  63. <userDefinedRuntimeAttributes>
  64. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  65. <real key="value" value="16"/>
  66. </userDefinedRuntimeAttribute>
  67. </userDefinedRuntimeAttributes>
  68. <connections>
  69. <action selector="joinRoomAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="hy1-oJ-dCA"/>
  70. </connections>
  71. </button>
  72. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="swJ-ep-4EY">
  73. <rect key="frame" x="284" y="15" width="1" height="30"/>
  74. <color key="backgroundColor" red="0.84705882352941175" green="0.84705882352941175" blue="0.84705882352941175" alpha="1" colorSpace="calibratedRGB"/>
  75. <constraints>
  76. <constraint firstAttribute="width" constant="1" id="QF8-Ds-9Z9"/>
  77. <constraint firstAttribute="height" constant="30" id="bcn-b8-fVq"/>
  78. </constraints>
  79. </view>
  80. </subviews>
  81. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  82. <constraints>
  83. <constraint firstItem="o9U-Ig-hhv" firstAttribute="leading" secondItem="aJw-9X-t4v" secondAttribute="leading" id="1AP-QY-Vt0"/>
  84. <constraint firstItem="cQM-ma-gAP" firstAttribute="centerY" secondItem="3RJ-oY-GLg" secondAttribute="centerY" id="Azt-cT-KP4"/>
  85. <constraint firstItem="Jld-ti-AY3" firstAttribute="leading" secondItem="3RJ-oY-GLg" secondAttribute="leading" constant="7" id="Dyw-ap-x7H"/>
  86. <constraint firstAttribute="height" constant="60" id="HEJ-Kq-2Q7"/>
  87. <constraint firstItem="XLv-21-YKG" firstAttribute="centerX" secondItem="Jld-ti-AY3" secondAttribute="trailing" constant="-2" id="HrP-NZ-Nz0"/>
  88. <constraint firstItem="swJ-ep-4EY" firstAttribute="centerY" secondItem="3RJ-oY-GLg" secondAttribute="centerY" id="KKo-mu-tJC"/>
  89. <constraint firstItem="aJw-9X-t4v" firstAttribute="top" secondItem="Jld-ti-AY3" secondAttribute="top" constant="5" id="V5c-pA-xph"/>
  90. <constraint firstItem="aJw-9X-t4v" firstAttribute="leading" secondItem="Jld-ti-AY3" secondAttribute="trailing" constant="15" id="Wrh-eB-lkY"/>
  91. <constraint firstAttribute="trailing" secondItem="cQM-ma-gAP" secondAttribute="trailing" constant="19" id="goH-Zh-W1g"/>
  92. <constraint firstItem="Jld-ti-AY3" firstAttribute="centerY" secondItem="3RJ-oY-GLg" secondAttribute="centerY" id="iP8-jy-Yrd"/>
  93. <constraint firstItem="swJ-ep-4EY" firstAttribute="leading" secondItem="aJw-9X-t4v" secondAttribute="trailing" constant="15" id="iok-82-t4n"/>
  94. <constraint firstItem="XLv-21-YKG" firstAttribute="bottom" secondItem="Jld-ti-AY3" secondAttribute="bottom" id="k4q-Cr-M10"/>
  95. <constraint firstItem="o9U-Ig-hhv" firstAttribute="bottom" secondItem="Jld-ti-AY3" secondAttribute="bottom" id="tXD-64-QsG"/>
  96. <constraint firstItem="cQM-ma-gAP" firstAttribute="leading" secondItem="swJ-ep-4EY" secondAttribute="trailing" constant="10" id="w72-LY-Ahe"/>
  97. </constraints>
  98. <userDefinedRuntimeAttributes>
  99. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  100. <real key="value" value="30"/>
  101. </userDefinedRuntimeAttribute>
  102. <userDefinedRuntimeAttribute type="color" keyPath="shadowUIColor">
  103. <color key="value" red="0.82745098039215681" green="0.82745098039215681" blue="0.82745098039215681" alpha="0.080000000000000002" colorSpace="custom" customColorSpace="calibratedRGB"/>
  104. </userDefinedRuntimeAttribute>
  105. <userDefinedRuntimeAttribute type="size" keyPath="shadowOffset">
  106. <size key="value" width="0.0" height="2"/>
  107. </userDefinedRuntimeAttribute>
  108. <userDefinedRuntimeAttribute type="boolean" keyPath="maskToBounces" value="NO"/>
  109. <userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
  110. <real key="value" value="1"/>
  111. </userDefinedRuntimeAttribute>
  112. <userDefinedRuntimeAttribute type="number" keyPath="shadowRadius">
  113. <real key="value" value="2"/>
  114. </userDefinedRuntimeAttribute>
  115. </userDefinedRuntimeAttributes>
  116. </view>
  117. </subviews>
  118. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  119. <constraints>
  120. <constraint firstItem="3RJ-oY-GLg" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="gaz-ov-WF0"/>
  121. <constraint firstAttribute="trailing" secondItem="3RJ-oY-GLg" secondAttribute="trailing" constant="14" id="kpz-us-IDC"/>
  122. <constraint firstItem="3RJ-oY-GLg" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="mJa-3d-BOB"/>
  123. </constraints>
  124. <nil key="simulatedTopBarMetrics"/>
  125. <nil key="simulatedBottomBarMetrics"/>
  126. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  127. <connections>
  128. <outlet property="courseName" destination="aJw-9X-t4v" id="jpp-pR-7kH"/>
  129. <outlet property="teacherAvatar" destination="Jld-ti-AY3" id="8rL-If-Hud"/>
  130. <outlet property="timeLabel" destination="o9U-Ig-hhv" id="r2x-4g-7Wt"/>
  131. </connections>
  132. <point key="canvasLocation" x="131.8840579710145" y="38.839285714285715"/>
  133. </view>
  134. </objects>
  135. <resources>
  136. <image name="homeCourse_notice" width="20" height="21"/>
  137. <image name="user_default_avatal" width="52" height="52"/>
  138. <systemColor name="systemBackgroundColor">
  139. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  140. </systemColor>
  141. </resources>
  142. </document>