XWPhotoCell.xib 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" 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="22685"/>
  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" restorationIdentifier="XWPhotoCell" reuseIdentifier="XWPhotoCell" id="Zie-9e-p7W" customClass="XWPhotoCell">
  13. <rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="yn2-kE-xVh">
  20. <rect key="frame" x="5" y="5" width="60" height="60"/>
  21. </imageView>
  22. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EjE-Fq-m5L">
  23. <rect key="frame" x="49" y="10" width="14" height="22"/>
  24. <state key="normal" image="删除图片">
  25. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  26. </state>
  27. </button>
  28. </subviews>
  29. </view>
  30. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  31. <constraints>
  32. <constraint firstItem="yn2-kE-xVh" firstAttribute="leading" secondItem="Zie-9e-p7W" secondAttribute="leading" constant="5" id="2pT-4C-0PV"/>
  33. <constraint firstAttribute="trailing" secondItem="yn2-kE-xVh" secondAttribute="trailing" constant="5" id="MXp-wU-NJ3"/>
  34. <constraint firstItem="EjE-Fq-m5L" firstAttribute="top" secondItem="Zie-9e-p7W" secondAttribute="top" constant="10" id="Xfb-TT-X7O"/>
  35. <constraint firstAttribute="bottom" secondItem="yn2-kE-xVh" secondAttribute="bottom" constant="5" id="ovB-33-mR0"/>
  36. <constraint firstItem="yn2-kE-xVh" firstAttribute="top" secondItem="Zie-9e-p7W" secondAttribute="top" constant="5" id="qVY-3o-zMO"/>
  37. <constraint firstAttribute="trailing" secondItem="EjE-Fq-m5L" secondAttribute="trailing" constant="7" id="sVK-fA-RsS"/>
  38. </constraints>
  39. <connections>
  40. <outlet property="closeButton" destination="EjE-Fq-m5L" id="8sR-2v-Vyy"/>
  41. <outlet property="profilePhoto" destination="yn2-kE-xVh" id="YG8-L6-P4R"/>
  42. </connections>
  43. <point key="canvasLocation" x="142" y="124"/>
  44. </collectionViewCell>
  45. </objects>
  46. <resources>
  47. <image name="删除图片" width="14" height="14"/>
  48. </resources>
  49. </document>