StudyViewController.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="StudyViewController" customModule="xingchuangke" customModuleProvider="target">
  14. <connections>
  15. <outlet property="collectionView" destination="iLJ-tW-xGc" id="q6A-n8-WwP"/>
  16. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  17. <outlet property="viewMenu1" destination="Yzf-30-YJG" id="R5a-if-pXZ"/>
  18. <outlet property="viewMenu2" destination="LAV-Vv-yGf" id="V8l-lE-VG2"/>
  19. <outlet property="viewMenu3" destination="zjg-wO-Kef" id="JJ1-y1-Ahl"/>
  20. <outlet property="viewMenu4" destination="YTw-Zx-BZB" id="iaF-TA-aKB"/>
  21. <outlet property="viewTop" destination="eds-Ck-ipq" id="A7T-Em-e2g"/>
  22. </connections>
  23. </placeholder>
  24. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  25. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  26. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  27. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  28. <subviews>
  29. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eds-Ck-ipq">
  30. <rect key="frame" x="0.0" y="0.0" width="375" height="100"/>
  31. <subviews>
  32. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Yzf-30-YJG">
  33. <rect key="frame" x="0.0" y="0.0" width="94" height="100"/>
  34. <subviews>
  35. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="ion_study_01" translatesAutoresizingMaskIntoConstraints="NO" id="kGi-e7-UhW">
  36. <rect key="frame" x="18" y="10" width="58" height="58"/>
  37. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
  38. </imageView>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="在线学习" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mEX-9f-jNV">
  40. <rect key="frame" x="0.0" y="70" width="94" height="21"/>
  41. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  42. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  43. <nil key="textColor"/>
  44. <nil key="highlightedColor"/>
  45. </label>
  46. <button opaque="NO" tag="1001" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cy0-Cg-Umy">
  47. <rect key="frame" x="0.0" y="0.0" width="94" height="100"/>
  48. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  49. <connections>
  50. <action selector="btnMenuClick:" destination="-1" eventType="touchUpInside" id="hFb-S5-iLB"/>
  51. </connections>
  52. </button>
  53. </subviews>
  54. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  55. </view>
  56. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LAV-Vv-yGf">
  57. <rect key="frame" x="94" y="0.0" width="93.5" height="100"/>
  58. <subviews>
  59. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="ion_study_02" translatesAutoresizingMaskIntoConstraints="NO" id="XGh-5R-NQD">
  60. <rect key="frame" x="18" y="10" width="58" height="58"/>
  61. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
  62. </imageView>
  63. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="线下培训" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Elr-GD-Tg9">
  64. <rect key="frame" x="0.0" y="70" width="94" height="21"/>
  65. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  66. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  67. <nil key="textColor"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. <button opaque="NO" tag="1002" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="A8J-hl-1vz">
  71. <rect key="frame" x="0.0" y="0.0" width="94" height="100"/>
  72. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  73. <connections>
  74. <action selector="btnMenuClick:" destination="-1" eventType="touchUpInside" id="24E-cy-rHe"/>
  75. </connections>
  76. </button>
  77. </subviews>
  78. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  79. </view>
  80. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zjg-wO-Kef">
  81. <rect key="frame" x="187.5" y="0.0" width="94" height="100"/>
  82. <subviews>
  83. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="ion_study_03" translatesAutoresizingMaskIntoConstraints="NO" id="PWC-B2-fJa">
  84. <rect key="frame" x="18" y="10" width="58" height="58"/>
  85. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
  86. </imageView>
  87. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="我的课程" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BnR-rT-9mB">
  88. <rect key="frame" x="0.0" y="70" width="94" height="21"/>
  89. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  90. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  91. <nil key="textColor"/>
  92. <nil key="highlightedColor"/>
  93. </label>
  94. <button opaque="NO" tag="1003" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kCe-zQ-QuR">
  95. <rect key="frame" x="0.0" y="0.0" width="94" height="100"/>
  96. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  97. <connections>
  98. <action selector="btnMenuClick:" destination="-1" eventType="touchUpInside" id="co5-kg-NSc"/>
  99. </connections>
  100. </button>
  101. </subviews>
  102. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  103. </view>
  104. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YTw-Zx-BZB">
  105. <rect key="frame" x="281.5" y="0.0" width="93.5" height="100"/>
  106. <subviews>
  107. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="ion_study_04" translatesAutoresizingMaskIntoConstraints="NO" id="4VS-cG-Nsz">
  108. <rect key="frame" x="17" y="10" width="58" height="58"/>
  109. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
  110. </imageView>
  111. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="知识库" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="co8-7q-4co">
  112. <rect key="frame" x="0.0" y="70" width="93" height="21"/>
  113. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  114. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  115. <nil key="textColor"/>
  116. <nil key="highlightedColor"/>
  117. </label>
  118. <button opaque="NO" tag="1004" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Iqe-0f-FU7">
  119. <rect key="frame" x="0.0" y="0.0" width="93" height="100"/>
  120. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  121. <connections>
  122. <action selector="btnMenuClick:" destination="-1" eventType="touchUpInside" id="TQ4-DY-BmH"/>
  123. </connections>
  124. </button>
  125. </subviews>
  126. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  127. </view>
  128. </subviews>
  129. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  130. <constraints>
  131. <constraint firstItem="LAV-Vv-yGf" firstAttribute="width" secondItem="Yzf-30-YJG" secondAttribute="width" id="0q6-ii-qKv"/>
  132. <constraint firstItem="YTw-Zx-BZB" firstAttribute="width" secondItem="Yzf-30-YJG" secondAttribute="width" id="5wx-Qm-Lhd"/>
  133. <constraint firstAttribute="bottom" secondItem="LAV-Vv-yGf" secondAttribute="bottom" id="7fb-qF-hWB"/>
  134. <constraint firstItem="Yzf-30-YJG" firstAttribute="leading" secondItem="eds-Ck-ipq" secondAttribute="leading" id="8rI-rz-lav"/>
  135. <constraint firstAttribute="height" constant="100" id="GZ6-f7-6IY"/>
  136. <constraint firstAttribute="trailing" secondItem="YTw-Zx-BZB" secondAttribute="trailing" id="Kbm-mZ-4cf"/>
  137. <constraint firstAttribute="bottom" secondItem="YTw-Zx-BZB" secondAttribute="bottom" id="OCV-Mo-Hfn"/>
  138. <constraint firstItem="zjg-wO-Kef" firstAttribute="leading" secondItem="LAV-Vv-yGf" secondAttribute="trailing" id="XAp-5J-9IK"/>
  139. <constraint firstItem="LAV-Vv-yGf" firstAttribute="top" secondItem="eds-Ck-ipq" secondAttribute="top" id="djf-Cr-7zp"/>
  140. <constraint firstItem="YTw-Zx-BZB" firstAttribute="leading" secondItem="zjg-wO-Kef" secondAttribute="trailing" id="jyd-pW-CF4"/>
  141. <constraint firstAttribute="bottom" secondItem="Yzf-30-YJG" secondAttribute="bottom" id="lo6-by-WZd"/>
  142. <constraint firstItem="zjg-wO-Kef" firstAttribute="width" secondItem="Yzf-30-YJG" secondAttribute="width" id="syw-VA-CDN"/>
  143. <constraint firstItem="Yzf-30-YJG" firstAttribute="top" secondItem="eds-Ck-ipq" secondAttribute="top" id="tOz-cr-4lP"/>
  144. <constraint firstItem="LAV-Vv-yGf" firstAttribute="leading" secondItem="Yzf-30-YJG" secondAttribute="trailing" id="wJL-Wn-Dol"/>
  145. <constraint firstItem="YTw-Zx-BZB" firstAttribute="top" secondItem="eds-Ck-ipq" secondAttribute="top" id="wUx-uJ-Ubd"/>
  146. <constraint firstAttribute="bottom" secondItem="zjg-wO-Kef" secondAttribute="bottom" id="wcq-g5-lq4"/>
  147. <constraint firstItem="zjg-wO-Kef" firstAttribute="top" secondItem="eds-Ck-ipq" secondAttribute="top" id="zfJ-sz-5UR"/>
  148. </constraints>
  149. </view>
  150. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="iLJ-tW-xGc">
  151. <rect key="frame" x="0.0" y="100" width="375" height="567"/>
  152. <color key="backgroundColor" red="0.96862745098039216" green="0.96862745098039216" blue="0.97647058823529409" alpha="1" colorSpace="calibratedRGB"/>
  153. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="nTm-k2-IeR">
  154. <size key="itemSize" width="50" height="50"/>
  155. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  156. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  157. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  158. </collectionViewFlowLayout>
  159. </collectionView>
  160. </subviews>
  161. <color key="backgroundColor" red="0.96862745098039216" green="0.96862745098039216" blue="0.97647058823529409" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  162. <constraints>
  163. <constraint firstItem="eds-Ck-ipq" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="4QV-d3-Tzh"/>
  164. <constraint firstItem="eds-Ck-ipq" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="JnF-Qr-2Zs"/>
  165. <constraint firstItem="eds-Ck-ipq" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="Q3J-3J-wpk"/>
  166. <constraint firstItem="iLJ-tW-xGc" firstAttribute="top" secondItem="eds-Ck-ipq" secondAttribute="bottom" id="RRf-j4-z43"/>
  167. <constraint firstItem="iLJ-tW-xGc" firstAttribute="bottom" secondItem="fnl-2z-Ty3" secondAttribute="bottom" id="Sm4-Cm-427"/>
  168. <constraint firstItem="iLJ-tW-xGc" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="VSb-sc-kcN"/>
  169. <constraint firstItem="iLJ-tW-xGc" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="hfH-Vn-FTi"/>
  170. </constraints>
  171. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  172. <point key="canvasLocation" x="-650" y="-344"/>
  173. </view>
  174. </objects>
  175. <resources>
  176. <image name="ion_study_01" width="67" height="67"/>
  177. <image name="ion_study_02" width="67" height="67"/>
  178. <image name="ion_study_03" width="67" height="67"/>
  179. <image name="ion_study_04" width="67" height="67"/>
  180. </resources>
  181. </document>