ChatInfoUserCollectionCell.xib 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15505" 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="15510"/>
  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="ChatInfoUserCollectionCell" id="gTV-IL-0wX" customClass="ChatInfoUserCollectionCell">
  14. <rect key="frame" x="0.0" y="0.0" width="70" height="90"/>
  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="70" height="90"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="fCU-H8-X7F">
  21. <rect key="frame" x="10" y="20" width="50" height="50"/>
  22. <constraints>
  23. <constraint firstAttribute="width" constant="50" id="YWz-6u-kM8"/>
  24. <constraint firstAttribute="height" constant="50" id="peU-oc-ATB"/>
  25. </constraints>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lz8-4S-6Me">
  28. <rect key="frame" x="5" y="73" width="60" height="12"/>
  29. <constraints>
  30. <constraint firstAttribute="height" constant="12" id="Clj-ny-5dK"/>
  31. </constraints>
  32. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  33. <color key="textColor" red="0.039215686274509803" green="0.039215686274509803" blue="0.039215686274509803" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. </subviews>
  37. </view>
  38. <constraints>
  39. <constraint firstAttribute="trailing" secondItem="Lz8-4S-6Me" secondAttribute="trailing" constant="5" id="Bb5-gp-OMh"/>
  40. <constraint firstAttribute="bottom" secondItem="Lz8-4S-6Me" secondAttribute="bottom" constant="5" id="EYy-D4-7Ly"/>
  41. <constraint firstItem="fCU-H8-X7F" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="20" id="QMY-sX-OKZ"/>
  42. <constraint firstItem="Lz8-4S-6Me" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="5" id="XS7-q8-Iyv"/>
  43. <constraint firstItem="Lz8-4S-6Me" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="e6r-0M-Cx4"/>
  44. <constraint firstItem="fCU-H8-X7F" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="org-16-Bbw"/>
  45. </constraints>
  46. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  47. <connections>
  48. <outlet property="cell0UserImgView" destination="fCU-H8-X7F" id="TMT-Ht-fnz"/>
  49. <outlet property="cell0UserNameLabel" destination="Lz8-4S-6Me" id="870-pO-nhF"/>
  50. </connections>
  51. <point key="canvasLocation" x="132" y="115"/>
  52. </collectionViewCell>
  53. </objects>
  54. </document>