口袋优选

NY_SelectCollectionViewCell.xib 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" 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="13772"/>
  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="NY_SelectCollectionViewCell">
  15. <rect key="frame" x="0.0" y="0.0" width="241" height="61"/>
  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="241" height="61"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rJT-Oj-obf">
  22. <rect key="frame" x="0.0" y="60" width="241" height="1"/>
  23. <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
  24. <constraints>
  25. <constraint firstAttribute="height" constant="0.5" id="vQe-Zb-HkR"/>
  26. </constraints>
  27. </view>
  28. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wKE-km-7pC">
  29. <rect key="frame" x="25" y="17" width="47" height="27"/>
  30. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  31. <state key="normal" title="全部(12)">
  32. <color key="titleColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
  33. </state>
  34. </button>
  35. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="duigou.png" translatesAutoresizingMaskIntoConstraints="NO" id="sHc-PS-wXs">
  36. <rect key="frame" x="205" y="25" width="14" height="11"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="11" id="9zo-Bt-251"/>
  39. <constraint firstAttribute="width" constant="14" id="r6j-PT-I7P"/>
  40. </constraints>
  41. </imageView>
  42. </subviews>
  43. </view>
  44. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  45. <constraints>
  46. <constraint firstItem="wKE-km-7pC" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="FeI-b4-fHq"/>
  47. <constraint firstAttribute="trailing" secondItem="rJT-Oj-obf" secondAttribute="trailing" id="Vdo-wf-Rki"/>
  48. <constraint firstItem="rJT-Oj-obf" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="deI-0s-51B"/>
  49. <constraint firstItem="sHc-PS-wXs" firstAttribute="centerY" secondItem="wKE-km-7pC" secondAttribute="centerY" id="o0H-1T-ZX6"/>
  50. <constraint firstAttribute="trailing" secondItem="sHc-PS-wXs" secondAttribute="trailing" constant="22" id="uYU-Ym-RKu"/>
  51. <constraint firstItem="wKE-km-7pC" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="25" id="uoZ-bU-4It"/>
  52. <constraint firstAttribute="bottom" secondItem="rJT-Oj-obf" secondAttribute="bottom" id="ynw-y1-EWY"/>
  53. </constraints>
  54. <size key="customSize" width="241" height="61"/>
  55. <connections>
  56. <outlet property="Btn" destination="wKE-km-7pC" id="7EN-HS-yBP"/>
  57. <outlet property="selectImage" destination="sHc-PS-wXs" id="gVP-Mo-yte"/>
  58. </connections>
  59. <point key="canvasLocation" x="129.5" y="59.5"/>
  60. </collectionViewCell>
  61. </objects>
  62. <resources>
  63. <image name="duigou.png" width="15" height="11"/>
  64. </resources>
  65. </document>