PhotoCell.xib 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
  6. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  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" reuseIdentifier="photoCell" id="gTV-IL-0wX" customClass="PhotoCell">
  13. <rect key="frame" x="0.0" y="0.0" width="211" height="288"/>
  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="211" height="288"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="eCa-Hy-BKu">
  20. <rect key="frame" x="0.0" y="0.0" width="211" height="288"/>
  21. </imageView>
  22. </subviews>
  23. </view>
  24. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  25. <constraints>
  26. <constraint firstAttribute="trailing" secondItem="eCa-Hy-BKu" secondAttribute="trailing" id="RBK-Sw-d19"/>
  27. <constraint firstAttribute="bottom" secondItem="eCa-Hy-BKu" secondAttribute="bottom" id="SeC-y2-dWW"/>
  28. <constraint firstItem="eCa-Hy-BKu" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="s0x-Op-ZGR"/>
  29. <constraint firstItem="eCa-Hy-BKu" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="sU5-Ya-t0P"/>
  30. </constraints>
  31. <size key="customSize" width="211" height="288"/>
  32. <connections>
  33. <outlet property="imgView" destination="eCa-Hy-BKu" id="aY4-O2-jy8"/>
  34. </connections>
  35. <point key="canvasLocation" x="147" y="97"/>
  36. </collectionViewCell>
  37. </objects>
  38. </document>