MyAdvertCell.xib 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="18122" 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="18093"/>
  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="MyAdvertCell">
  13. <rect key="frame" x="0.0" y="0.0" width="195" height="249"/>
  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="195" height="249"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="x79-cE-QBl">
  20. <rect key="frame" x="0.0" y="0.0" width="195" height="249"/>
  21. </imageView>
  22. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_zan.png" translatesAutoresizingMaskIntoConstraints="NO" id="YW1-zU-gbx">
  23. <rect key="frame" x="12" y="216" width="20" height="20"/>
  24. <constraints>
  25. <constraint firstAttribute="width" constant="20" id="2qd-4d-byG"/>
  26. <constraint firstAttribute="height" constant="20" id="9Cp-Ib-FJW"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pBa-x7-zdf">
  30. <rect key="frame" x="37" y="217" width="9" height="18"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  32. <color key="textColor" red="0.95686274510000002" green="0.96078431369999995" blue="0.96470588239999999" alpha="1" colorSpace="calibratedRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. </subviews>
  36. </view>
  37. <constraints>
  38. <constraint firstItem="YW1-zU-gbx" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="12" id="6sg-FT-xJF"/>
  39. <constraint firstAttribute="trailing" secondItem="x79-cE-QBl" secondAttribute="trailing" id="BXp-T9-2BP"/>
  40. <constraint firstItem="pBa-x7-zdf" firstAttribute="leading" secondItem="YW1-zU-gbx" secondAttribute="trailing" constant="5" id="DUo-Gq-y0h"/>
  41. <constraint firstAttribute="bottom" secondItem="x79-cE-QBl" secondAttribute="bottom" id="EPW-6L-Wma"/>
  42. <constraint firstAttribute="bottom" secondItem="YW1-zU-gbx" secondAttribute="bottom" constant="13" id="FDv-fa-8S1"/>
  43. <constraint firstItem="x79-cE-QBl" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="XnN-H9-qJo"/>
  44. <constraint firstItem="pBa-x7-zdf" firstAttribute="centerY" secondItem="YW1-zU-gbx" secondAttribute="centerY" id="egC-Zo-Cs1"/>
  45. <constraint firstItem="x79-cE-QBl" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="n8e-9b-XXS"/>
  46. </constraints>
  47. <size key="customSize" width="176" height="302"/>
  48. <connections>
  49. <outlet property="numLb" destination="pBa-x7-zdf" id="u4I-mA-JBb"/>
  50. <outlet property="thumb" destination="x79-cE-QBl" id="ptf-hy-aOh"/>
  51. </connections>
  52. <point key="canvasLocation" x="193.47826086956522" y="161.71875"/>
  53. </collectionViewCell>
  54. </objects>
  55. <resources>
  56. <image name="home_zan.png" width="40" height="40"/>
  57. </resources>
  58. </document>