MyWordCell.xib 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" 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. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="MyWordCell" id="gTV-IL-0wX" customClass="MyWordCell">
  14. <rect key="frame" x="0.0" y="0.0" width="50" height="81"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="50" height="81"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="添加审批人" translatesAutoresizingMaskIntoConstraints="NO" id="sPm-Cy-BoW">
  21. <rect key="frame" x="4" y="4" width="42" height="42"/>
  22. <constraints>
  23. <constraint firstAttribute="width" constant="42" id="237-uA-oS3"/>
  24. <constraint firstAttribute="height" constant="42" id="Fai-xo-U4D"/>
  25. </constraints>
  26. </imageView>
  27. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vq7-bC-gsE">
  28. <rect key="frame" x="32" y="0.0" width="18" height="18"/>
  29. <constraints>
  30. <constraint firstAttribute="height" constant="18" id="86Z-uV-XAk"/>
  31. <constraint firstAttribute="width" constant="18" id="U8P-iu-U0t"/>
  32. </constraints>
  33. <state key="normal" image="填写状态"/>
  34. </button>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZLa-8Z-bSv">
  36. <rect key="frame" x="0.0" y="50" width="50" height="0.0"/>
  37. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  38. <nil key="textColor"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. </subviews>
  42. </view>
  43. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. <constraints>
  45. <constraint firstAttribute="trailing" secondItem="vq7-bC-gsE" secondAttribute="trailing" id="0rR-ee-YU4"/>
  46. <constraint firstItem="sPm-Cy-BoW" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="4" id="6Qd-T6-Chd"/>
  47. <constraint firstItem="ZLa-8Z-bSv" firstAttribute="top" secondItem="sPm-Cy-BoW" secondAttribute="bottom" constant="4" id="7AX-Cc-Wbw"/>
  48. <constraint firstItem="sPm-Cy-BoW" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="4" id="JrV-gO-amv"/>
  49. <constraint firstItem="ZLa-8Z-bSv" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="L7B-Bb-Ptq"/>
  50. <constraint firstItem="vq7-bC-gsE" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="TRU-bd-Dy3"/>
  51. <constraint firstAttribute="trailing" secondItem="ZLa-8Z-bSv" secondAttribute="trailing" id="qHH-v8-fFC"/>
  52. <constraint firstAttribute="trailing" secondItem="sPm-Cy-BoW" secondAttribute="trailing" constant="4" id="qV0-4C-IyO"/>
  53. </constraints>
  54. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  55. <size key="customSize" width="50" height="95"/>
  56. <connections>
  57. <outlet property="deleteButton" destination="vq7-bC-gsE" id="OBs-Iv-mRv"/>
  58. <outlet property="iconImage" destination="sPm-Cy-BoW" id="sIO-K1-ylG"/>
  59. <outlet property="nameLbl" destination="ZLa-8Z-bSv" id="ZMH-VJ-ouN"/>
  60. </connections>
  61. <point key="canvasLocation" x="131.8840579710145" y="111.49553571428571"/>
  62. </collectionViewCell>
  63. </objects>
  64. <resources>
  65. <image name="填写状态" width="17.5" height="17.5"/>
  66. <image name="添加审批人" width="41.5" height="41.5"/>
  67. </resources>
  68. </document>