MyCollectionViewCell.xib 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" 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="13772"/>
  9. <capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
  10. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  11. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  12. </dependencies>
  13. <objects>
  14. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  15. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  16. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="1vq-hR-U7i" customClass="MyCollectionViewCell" customModule="SheeeeeeeeetExample" customModuleProvider="target">
  17. <rect key="frame" x="0.0" y="0.0" width="208" height="93"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  20. <rect key="frame" x="0.0" y="0.0" width="208" height="93"/>
  21. <autoresizingMask key="autoresizingMask"/>
  22. <subviews>
  23. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ics-LT-uvT">
  24. <rect key="frame" x="63.5" y="6.5" width="80" height="80"/>
  25. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="80" id="5pJ-fE-3Cd"/>
  28. <constraint firstAttribute="width" secondItem="Ics-LT-uvT" secondAttribute="height" multiplier="1:1" id="dLl-RF-hPn"/>
  29. </constraints>
  30. </view>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tTq-6k-J0K">
  32. <rect key="frame" x="87" y="36" width="34" height="21"/>
  33. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  34. <nil key="textColor"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. </subviews>
  38. </view>
  39. <constraints>
  40. <constraint firstItem="Ics-LT-uvT" firstAttribute="centerX" secondItem="Hw0-CK-ibq" secondAttribute="centerX" id="77t-TA-m4J"/>
  41. <constraint firstItem="tTq-6k-J0K" firstAttribute="centerX" secondItem="1vq-hR-U7i" secondAttribute="centerX" id="IvE-6e-3MI"/>
  42. <constraint firstItem="tTq-6k-J0K" firstAttribute="centerY" secondItem="1vq-hR-U7i" secondAttribute="centerY" id="SAm-xg-W9n"/>
  43. <constraint firstItem="Ics-LT-uvT" firstAttribute="centerY" secondItem="Hw0-CK-ibq" secondAttribute="centerY" id="g3f-1Q-3sT"/>
  44. </constraints>
  45. <viewLayoutGuide key="safeArea" id="Hw0-CK-ibq"/>
  46. <size key="customSize" width="208" height="93"/>
  47. <connections>
  48. <outlet property="badge" destination="Ics-LT-uvT" id="cfO-lc-UVR"/>
  49. <outlet property="titleLabel" destination="tTq-6k-J0K" id="ydZ-Ag-9hF"/>
  50. </connections>
  51. <point key="canvasLocation" x="-13" y="-88.5"/>
  52. </collectionViewCell>
  53. </objects>
  54. </document>