HWPageListCell.xib 5.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
  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" reuseIdentifier="HWPageListCell" id="gTV-IL-0wX" customClass="HWPageListCell">
  14. <rect key="frame" x="0.0" y="0.0" width="201" height="289"/>
  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="201" height="289"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="NuB-gb-i6x">
  21. <rect key="frame" x="0.0" y="0.0" width="201" height="253"/>
  22. </imageView>
  23. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="llQ-MZ-7HF">
  24. <rect key="frame" x="5" y="263" width="191" height="17"/>
  25. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  26. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CBY-2d-J39">
  30. <rect key="frame" x="156" y="0.0" width="45" height="45"/>
  31. <constraints>
  32. <constraint firstAttribute="width" constant="45" id="KZi-m2-mlL"/>
  33. <constraint firstAttribute="height" constant="45" id="Ycp-8h-Gcf"/>
  34. </constraints>
  35. <inset key="imageEdgeInsets" minX="8" minY="8" maxX="8" maxY="8"/>
  36. <state key="normal" image="Icon03"/>
  37. <connections>
  38. <action selector="closeBtnClick:" destination="gTV-IL-0wX" eventType="touchUpInside" id="dl6-tf-djJ"/>
  39. </connections>
  40. </button>
  41. </subviews>
  42. </view>
  43. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  44. <constraints>
  45. <constraint firstAttribute="trailing" secondItem="llQ-MZ-7HF" secondAttribute="trailing" constant="5" id="0fd-c5-4EP"/>
  46. <constraint firstItem="llQ-MZ-7HF" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="5" id="5CD-Ah-hyS"/>
  47. <constraint firstAttribute="trailing" secondItem="NuB-gb-i6x" secondAttribute="trailing" id="Fwg-eH-W6D"/>
  48. <constraint firstItem="NuB-gb-i6x" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Jub-cq-OVX"/>
  49. <constraint firstAttribute="bottom" secondItem="NuB-gb-i6x" secondAttribute="bottom" constant="36" id="LBS-7C-gGH"/>
  50. <constraint firstItem="CBY-2d-J39" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="Vhb-wv-eW4"/>
  51. <constraint firstAttribute="bottom" secondItem="llQ-MZ-7HF" secondAttribute="bottom" constant="9" id="jso-Og-Zas"/>
  52. <constraint firstItem="llQ-MZ-7HF" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="lXd-3Z-s05"/>
  53. <constraint firstAttribute="trailing" secondItem="CBY-2d-J39" secondAttribute="trailing" id="ovL-Rw-AD5"/>
  54. <constraint firstItem="NuB-gb-i6x" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="zEH-pD-PbW"/>
  55. </constraints>
  56. <size key="customSize" width="201" height="289"/>
  57. <connections>
  58. <outlet property="iconImageView" destination="NuB-gb-i6x" id="GeT-r7-o8h"/>
  59. <outlet property="titleLabel" destination="llQ-MZ-7HF" id="UhF-ll-EDq"/>
  60. </connections>
  61. <point key="canvasLocation" x="-57.24637681159421" y="104.79910714285714"/>
  62. </collectionViewCell>
  63. </objects>
  64. <resources>
  65. <image name="Icon03" width="40" height="40"/>
  66. </resources>
  67. </document>