RAPhotoItemCell.xib 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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" 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="14283.14"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="RAPhotoItemCell">
  16. <rect key="frame" x="0.0" y="0.0" width="90" height="90"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  19. <rect key="frame" x="0.0" y="0.0" width="90" height="90"/>
  20. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  21. <subviews>
  22. <imageView clipsSubviews="YES" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="f77-2N-GTO">
  23. <rect key="frame" x="1" y="1" width="88" height="88"/>
  24. </imageView>
  25. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="lPX-8s-zlX">
  26. <rect key="frame" x="0.0" y="0.0" width="90" height="90"/>
  27. <connections>
  28. <action selector="photoBtnClick:" destination="gTV-IL-0wX" eventType="touchUpInside" id="zJT-dy-B63"/>
  29. </connections>
  30. </button>
  31. </subviews>
  32. </view>
  33. <constraints>
  34. <constraint firstAttribute="bottom" secondItem="f77-2N-GTO" secondAttribute="bottom" constant="1" id="4MB-QY-f5Y"/>
  35. <constraint firstAttribute="bottom" secondItem="lPX-8s-zlX" secondAttribute="bottom" id="GWp-s4-MZR"/>
  36. <constraint firstItem="f77-2N-GTO" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="1" id="Hm4-FG-lgl"/>
  37. <constraint firstItem="lPX-8s-zlX" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="N6h-W5-4C2"/>
  38. <constraint firstAttribute="trailing" secondItem="f77-2N-GTO" secondAttribute="trailing" constant="1" id="P1c-S2-DNg"/>
  39. <constraint firstItem="f77-2N-GTO" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="1" id="a37-li-ujJ"/>
  40. <constraint firstItem="lPX-8s-zlX" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="co2-Qh-Lta"/>
  41. <constraint firstAttribute="trailing" secondItem="lPX-8s-zlX" secondAttribute="trailing" id="k7R-2w-8zt"/>
  42. </constraints>
  43. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  44. <size key="customSize" width="81" height="91"/>
  45. <connections>
  46. <outlet property="photoView" destination="f77-2N-GTO" id="BHD-LI-8AE"/>
  47. </connections>
  48. <point key="canvasLocation" x="157.59999999999999" y="173.16341829085459"/>
  49. </collectionViewCell>
  50. </objects>
  51. </document>