YBShareViewCell.xib 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14868" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14824"/>
  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="YBShareViewCell">
  13. <rect key="frame" x="0.0" y="0.0" width="86" height="86"/>
  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="86" height="86"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="9Bb-Tz-qss" userLabel="分享">
  20. <rect key="frame" x="24" y="13" width="38" height="38"/>
  21. <constraints>
  22. <constraint firstAttribute="width" constant="38" id="Dx9-fx-hFb"/>
  23. <constraint firstAttribute="width" secondItem="9Bb-Tz-qss" secondAttribute="height" multiplier="1:1" id="cfH-at-gnK"/>
  24. </constraints>
  25. </imageView>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g57-ot-KV0" userLabel="文字标识">
  27. <rect key="frame" x="27.5" y="53" width="31" height="20"/>
  28. <constraints>
  29. <constraint firstAttribute="height" constant="20" id="Tkh-br-DPQ"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  32. <color key="textColor" red="0.36078431372549019" green="0.36078431372549019" blue="0.396078431372549" alpha="1" colorSpace="calibratedRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. </subviews>
  36. </view>
  37. <constraints>
  38. <constraint firstItem="g57-ot-KV0" firstAttribute="centerX" secondItem="9Bb-Tz-qss" secondAttribute="centerX" id="Iyv-oT-U9m"/>
  39. <constraint firstItem="9Bb-Tz-qss" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" constant="-11" id="SiX-LG-DX4"/>
  40. <constraint firstItem="9Bb-Tz-qss" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="aer-tu-VHE"/>
  41. <constraint firstItem="g57-ot-KV0" firstAttribute="top" secondItem="9Bb-Tz-qss" secondAttribute="bottom" constant="2" id="bIw-Zi-deH"/>
  42. </constraints>
  43. <size key="customSize" width="117" height="166"/>
  44. <connections>
  45. <outlet property="thumbIV" destination="9Bb-Tz-qss" id="kMG-AM-gE7"/>
  46. <outlet property="titleL" destination="g57-ot-KV0" id="T9j-s0-rJq"/>
  47. </connections>
  48. <point key="canvasLocation" x="-60" y="205.99700149925039"/>
  49. </collectionViewCell>
  50. </objects>
  51. </document>