STCollectionPhotoCell.xib 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1217" 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="11757"/>
  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="STCollectionPhotoCell">
  15. <rect key="frame" x="0.0" y="0.0" width="231" height="202"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  18. <rect key="frame" x="0.0" y="0.0" width="231" height="202"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="kYX-fz-ljb">
  22. <rect key="frame" x="0.0" y="0.0" width="231" height="202"/>
  23. </imageView>
  24. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="st_delete_photo" translatesAutoresizingMaskIntoConstraints="NO" id="oGA-xn-M8Z">
  25. <rect key="frame" x="199" y="2" width="30" height="30"/>
  26. <constraints>
  27. <constraint firstAttribute="width" constant="30" id="1BW-aK-yMB"/>
  28. <constraint firstAttribute="height" constant="30" id="htR-JW-u44"/>
  29. </constraints>
  30. </imageView>
  31. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="st_photosDynamic_cover_unselect" translatesAutoresizingMaskIntoConstraints="NO" id="euW-1K-9Pf">
  32. <rect key="frame" x="85.5" y="91" width="60" height="20"/>
  33. <constraints>
  34. <constraint firstAttribute="width" constant="60" id="pNt-zy-t8m"/>
  35. <constraint firstAttribute="height" constant="20" id="pw6-k3-hOV"/>
  36. </constraints>
  37. </imageView>
  38. </subviews>
  39. </view>
  40. <constraints>
  41. <constraint firstItem="kYX-fz-ljb" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="9zf-OM-sEC"/>
  42. <constraint firstItem="euW-1K-9Pf" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="Fwn-Ay-NfO"/>
  43. <constraint firstItem="kYX-fz-ljb" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="IZr-wq-2ZS"/>
  44. <constraint firstAttribute="bottom" secondItem="kYX-fz-ljb" secondAttribute="bottom" id="JP4-Ka-XuJ"/>
  45. <constraint firstItem="euW-1K-9Pf" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="Lhd-9h-R92"/>
  46. <constraint firstAttribute="trailing" secondItem="oGA-xn-M8Z" secondAttribute="trailing" constant="2" id="M4X-xe-KfG"/>
  47. <constraint firstItem="oGA-xn-M8Z" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="2" id="fKs-Wg-2B7"/>
  48. <constraint firstAttribute="trailing" secondItem="kYX-fz-ljb" secondAttribute="trailing" id="yo5-Bm-Vip"/>
  49. </constraints>
  50. <size key="customSize" width="231" height="202"/>
  51. <connections>
  52. <outlet property="bgImgView" destination="kYX-fz-ljb" id="PpF-QM-IIJ"/>
  53. <outlet property="selectCoverImgView" destination="euW-1K-9Pf" id="ol6-up-RDd"/>
  54. <outlet property="selectStateImgView" destination="oGA-xn-M8Z" id="7Gs-oi-l8O"/>
  55. </connections>
  56. <point key="canvasLocation" x="-169" y="45"/>
  57. </collectionViewCell>
  58. </objects>
  59. <resources>
  60. <image name="st_delete_photo" width="30" height="30"/>
  61. <image name="st_photosDynamic_cover_unselect" width="60" height="20"/>
  62. </resources>
  63. </document>