NYVipTipsCell.xib 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="23506"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="NYVipTipsCell">
  13. <rect key="frame" x="0.0" y="0.0" width="365" height="90"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="365" height="90"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iUx-Qj-Vbh">
  20. <rect key="frame" x="0.0" y="15" width="365" height="60"/>
  21. <subviews>
  22. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="温馨提示: 特训包不包含普通VIP内容,推荐临考学员学习!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kwf-Zq-uIz">
  23. <rect key="frame" x="50" y="4" width="300" height="52"/>
  24. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  25. <color key="textColor" red="0.92156862750000001" green="0.38823529410000002" blue="0.10980392160000001" alpha="1" colorSpace="calibratedRGB"/>
  26. <nil key="highlightedColor"/>
  27. </label>
  28. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="li_tis_deng" translatesAutoresizingMaskIntoConstraints="NO" id="Fg3-7o-Q3Y">
  29. <rect key="frame" x="15" y="12" width="20" height="20"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="20" id="t8M-ea-56p"/>
  32. <constraint firstAttribute="width" constant="20" id="tkg-tH-yRb"/>
  33. </constraints>
  34. </imageView>
  35. </subviews>
  36. <color key="backgroundColor" red="1" green="0.96078431369999995" blue="0.90980392160000001" alpha="1" colorSpace="calibratedRGB"/>
  37. <constraints>
  38. <constraint firstItem="Fg3-7o-Q3Y" firstAttribute="leading" secondItem="iUx-Qj-Vbh" secondAttribute="leading" constant="15" id="PDX-AU-dL3"/>
  39. <constraint firstAttribute="bottom" secondItem="kwf-Zq-uIz" secondAttribute="bottom" constant="4" id="UTN-h1-Vzf"/>
  40. <constraint firstItem="kwf-Zq-uIz" firstAttribute="leading" secondItem="Fg3-7o-Q3Y" secondAttribute="trailing" constant="15" id="ViD-5e-F7P"/>
  41. <constraint firstItem="kwf-Zq-uIz" firstAttribute="top" secondItem="iUx-Qj-Vbh" secondAttribute="top" constant="4" id="c96-xR-JQF"/>
  42. <constraint firstAttribute="trailing" secondItem="kwf-Zq-uIz" secondAttribute="trailing" constant="15" id="cxG-72-rfN"/>
  43. <constraint firstItem="Fg3-7o-Q3Y" firstAttribute="top" secondItem="iUx-Qj-Vbh" secondAttribute="top" constant="12" id="eI0-T1-7ag"/>
  44. </constraints>
  45. <userDefinedRuntimeAttributes>
  46. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  47. <integer key="value" value="6"/>
  48. </userDefinedRuntimeAttribute>
  49. </userDefinedRuntimeAttributes>
  50. </view>
  51. </subviews>
  52. </view>
  53. <constraints>
  54. <constraint firstItem="iUx-Qj-Vbh" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Ndr-nI-bCE"/>
  55. <constraint firstAttribute="trailing" secondItem="iUx-Qj-Vbh" secondAttribute="trailing" id="Zx2-7j-vbc"/>
  56. <constraint firstAttribute="bottom" secondItem="iUx-Qj-Vbh" secondAttribute="bottom" constant="15" id="pd0-q6-okO"/>
  57. <constraint firstItem="iUx-Qj-Vbh" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="15" id="r6h-Ra-A3V"/>
  58. </constraints>
  59. <size key="customSize" width="361" height="111"/>
  60. <point key="canvasLocation" x="278.62595419847327" y="9.8591549295774659"/>
  61. </collectionViewCell>
  62. </objects>
  63. <resources>
  64. <image name="li_tis_deng" width="20" height="20"/>
  65. </resources>
  66. </document>