PhotoCollectionViewCell.xib 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="14283.14"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="PhotoCollectionViewCell">
  15. <rect key="frame" x="0.0" y="0.0" width="393" height="359"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  18. <rect key="frame" x="0.0" y="0.0" width="393" height="359"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="SsQ-Cu-1nY">
  22. <rect key="frame" x="159.5" y="143" width="74" height="73"/>
  23. <subviews>
  24. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_tianjia" translatesAutoresizingMaskIntoConstraints="NO" id="D7I-wM-Nhz">
  25. <rect key="frame" x="0.0" y="0.0" width="74" height="46"/>
  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="McA-bR-T5y">
  28. <rect key="frame" x="0.0" y="56" width="74" height="17"/>
  29. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  30. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. </subviews>
  34. </stackView>
  35. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8Qa-ou-PwC">
  36. <rect key="frame" x="0.0" y="0.0" width="392" height="359"/>
  37. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  38. </imageView>
  39. </subviews>
  40. </view>
  41. <color key="backgroundColor" red="0.67843137254901964" green="0.67843137254901964" blue="0.67843137254901964" alpha="1" colorSpace="calibratedRGB"/>
  42. <constraints>
  43. <constraint firstItem="SsQ-Cu-1nY" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="6jJ-tL-elj"/>
  44. <constraint firstItem="SsQ-Cu-1nY" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="caY-aP-9NE"/>
  45. </constraints>
  46. <size key="customSize" width="393" height="359"/>
  47. <connections>
  48. <outlet property="userImageView" destination="8Qa-ou-PwC" id="r4r-Hx-8kz"/>
  49. </connections>
  50. <point key="canvasLocation" x="-26" y="197"/>
  51. </collectionViewCell>
  52. </objects>
  53. <resources>
  54. <image name="icon_tianjia" width="74" height="46"/>
  55. </resources>
  56. </document>