HomeWeiCousreCollectCell.xib 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="15706"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="HomeWeiCousreCollectCell">
  14. <rect key="frame" x="0.0" y="0.0" width="216" height="124"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="216" height="124"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bn0-Yz-Qa6">
  21. <rect key="frame" x="0.0" y="0.0" width="216" height="124"/>
  22. <subviews>
  23. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="高中生将面临5 种新考试!" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DfN-lQ-x5P">
  24. <rect key="frame" x="15" y="15" width="186" height="94"/>
  25. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  26. <fontDescription key="fontDescription" name=".PingFangSC-Regular" family=".AppleSimplifiedChineseFont" pointSize="16"/>
  27. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  28. <nil key="highlightedColor"/>
  29. </label>
  30. </subviews>
  31. <color key="backgroundColor" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  32. <constraints>
  33. <constraint firstAttribute="trailing" secondItem="DfN-lQ-x5P" secondAttribute="trailing" constant="15" id="2N0-oQ-Quc"/>
  34. <constraint firstAttribute="bottom" secondItem="DfN-lQ-x5P" secondAttribute="bottom" constant="15" id="Aa8-aw-Aqw"/>
  35. <constraint firstItem="DfN-lQ-x5P" firstAttribute="leading" secondItem="bn0-Yz-Qa6" secondAttribute="leading" constant="15" id="K6L-Ws-BuJ"/>
  36. <constraint firstItem="DfN-lQ-x5P" firstAttribute="top" secondItem="bn0-Yz-Qa6" secondAttribute="top" constant="15" id="uFr-kM-cSs"/>
  37. </constraints>
  38. <userDefinedRuntimeAttributes>
  39. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  40. <integer key="value" value="2"/>
  41. </userDefinedRuntimeAttribute>
  42. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  43. </userDefinedRuntimeAttributes>
  44. </view>
  45. </subviews>
  46. </view>
  47. <constraints>
  48. <constraint firstItem="bn0-Yz-Qa6" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="6Gl-J3-A6q"/>
  49. <constraint firstAttribute="bottom" secondItem="bn0-Yz-Qa6" secondAttribute="bottom" id="W79-uJ-qFu"/>
  50. <constraint firstItem="bn0-Yz-Qa6" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="fSY-RE-A2W"/>
  51. <constraint firstAttribute="trailing" secondItem="bn0-Yz-Qa6" secondAttribute="trailing" id="ypx-9b-3qA"/>
  52. </constraints>
  53. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  54. <size key="customSize" width="216" height="124"/>
  55. <connections>
  56. <outlet property="titleL" destination="DfN-lQ-x5P" id="iWH-Za-1yy"/>
  57. </connections>
  58. <point key="canvasLocation" x="257.97101449275362" y="174.77678571428569"/>
  59. </collectionViewCell>
  60. </objects>
  61. </document>