ThumbImageCollectionViewCell.xib 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" 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="14088"/>
  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="ThumbImageCollectionViewCell">
  15. <rect key="frame" x="0.0" y="0.0" width="60" height="60"/>
  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="60" height="60"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="nv8-jU-nMz">
  22. <rect key="frame" x="0.0" y="0.0" width="60" height="60"/>
  23. </imageView>
  24. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1iX-ej-nfS">
  25. <rect key="frame" x="30" y="0.0" width="30" height="30"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="30" id="J9r-Rn-rEY"/>
  28. <constraint firstAttribute="width" constant="30" id="PRN-Uo-Pto"/>
  29. </constraints>
  30. <state key="normal" image="photo.png"/>
  31. <state key="selected" image="photo_sel.png"/>
  32. <state key="highlighted" image="image_picked.png"/>
  33. <connections>
  34. <action selector="selectedStatusChange:" destination="gTV-IL-0wX" eventType="touchUpInside" id="Rhl-dZ-h2O"/>
  35. </connections>
  36. </button>
  37. </subviews>
  38. </view>
  39. <constraints>
  40. <constraint firstAttribute="bottom" secondItem="nv8-jU-nMz" secondAttribute="bottom" id="Cda-7Z-0AY"/>
  41. <constraint firstAttribute="trailing" secondItem="nv8-jU-nMz" secondAttribute="trailing" id="P02-pz-1eN"/>
  42. <constraint firstAttribute="trailing" secondItem="1iX-ej-nfS" secondAttribute="trailing" id="V3k-n7-BFa"/>
  43. <constraint firstItem="nv8-jU-nMz" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="Vwb-iF-x24"/>
  44. <constraint firstItem="1iX-ej-nfS" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="gWe-Zt-Erz"/>
  45. <constraint firstItem="nv8-jU-nMz" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="h1i-qj-jVE"/>
  46. </constraints>
  47. <connections>
  48. <outlet property="seletStatusBtn" destination="1iX-ej-nfS" id="wop-Lj-erl"/>
  49. <outlet property="thumbImage" destination="nv8-jU-nMz" id="Ve0-PX-pO4"/>
  50. </connections>
  51. </collectionViewCell>
  52. </objects>
  53. <resources>
  54. <image name="image_picked.png" width="23" height="23"/>
  55. <image name="photo.png" width="14" height="14"/>
  56. <image name="photo_sel.png" width="14" height="14"/>
  57. </resources>
  58. </document>