AddFileTableViewCell.xib 7.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15400" 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="15404"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="AddFileTableViewCell" rowHeight="182" id="KGk-i7-Jjw" customClass="AddFileTableViewCell">
  14. <rect key="frame" x="0.0" y="0.0" width="320" height="182"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  17. <rect key="frame" x="0.0" y="0.0" width="320" height="182"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="上传文件" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dgV-Q9-qle">
  21. <rect key="frame" x="15" y="21" width="70" height="21"/>
  22. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  23. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  24. <nil key="highlightedColor"/>
  25. </label>
  26. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="星号" translatesAutoresizingMaskIntoConstraints="NO" id="8vz-cR-9yn">
  27. <rect key="frame" x="93" y="28.5" width="5.5" height="6.5"/>
  28. </imageView>
  29. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DBB-1V-LMt">
  30. <rect key="frame" x="0.0" y="52" width="320" height="1"/>
  31. <color key="backgroundColor" red="0.93333333330000001" green="0.93333333330000001" blue="0.93333333330000001" alpha="1" colorSpace="calibratedRGB"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="1" id="Bkv-P2-DnV"/>
  34. </constraints>
  35. </view>
  36. <button opaque="NO" contentMode="scaleAspectFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2hb-Kk-AYl" userLabel="ButtonA">
  37. <rect key="frame" x="15" y="68" width="42" height="42"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="42" id="8L5-0O-w0F"/>
  40. <constraint firstAttribute="width" constant="42" id="TsR-gW-6XL"/>
  41. </constraints>
  42. <state key="normal" image="上传附件"/>
  43. <connections>
  44. <action selector="addButton:" destination="KGk-i7-Jjw" eventType="touchDown" id="XVj-t3-ph3"/>
  45. </connections>
  46. </button>
  47. <button opaque="NO" contentMode="scaleAspectFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Qzc-Sl-XZX" userLabel="ButtonB">
  48. <rect key="frame" x="46" y="62" width="18" height="18"/>
  49. <constraints>
  50. <constraint firstAttribute="width" constant="18" id="G9x-Kw-wES"/>
  51. <constraint firstAttribute="height" constant="18" id="kfc-dI-r5A"/>
  52. </constraints>
  53. <state key="normal" image="填写状态"/>
  54. </button>
  55. </subviews>
  56. <constraints>
  57. <constraint firstItem="8vz-cR-9yn" firstAttribute="leading" secondItem="dgV-Q9-qle" secondAttribute="trailing" constant="8" id="2Xh-aP-cEM"/>
  58. <constraint firstItem="8vz-cR-9yn" firstAttribute="centerY" secondItem="dgV-Q9-qle" secondAttribute="centerY" id="A01-za-QyQ"/>
  59. <constraint firstAttribute="trailing" secondItem="DBB-1V-LMt" secondAttribute="trailing" id="NXt-Mo-FgB"/>
  60. <constraint firstItem="DBB-1V-LMt" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="Vc3-u0-VMI"/>
  61. <constraint firstItem="2hb-Kk-AYl" firstAttribute="top" secondItem="DBB-1V-LMt" secondAttribute="bottom" constant="15" id="Vs0-G5-d9L"/>
  62. <constraint firstItem="2hb-Kk-AYl" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="gyr-mH-atz"/>
  63. <constraint firstItem="dgV-Q9-qle" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="h4U-zv-Rwn"/>
  64. <constraint firstItem="2hb-Kk-AYl" firstAttribute="top" secondItem="Qzc-Sl-XZX" secondAttribute="top" constant="6" id="qwK-z4-Jsa"/>
  65. <constraint firstItem="Qzc-Sl-XZX" firstAttribute="leading" secondItem="2hb-Kk-AYl" secondAttribute="trailing" constant="-11" id="t2c-ge-EJ4"/>
  66. <constraint firstItem="dgV-Q9-qle" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="10" id="uhW-To-wxa"/>
  67. <constraint firstItem="DBB-1V-LMt" firstAttribute="top" secondItem="dgV-Q9-qle" secondAttribute="bottom" constant="10" id="zc3-DR-4sd"/>
  68. </constraints>
  69. </tableViewCellContentView>
  70. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  71. <connections>
  72. <outlet property="addbutton" destination="2hb-Kk-AYl" id="8mT-r0-LHy"/>
  73. <outlet property="deleteButton" destination="Qzc-Sl-XZX" id="pjf-wc-C61"/>
  74. <outlet property="haveNeedImageView" destination="8vz-cR-9yn" id="FsI-gM-AJs"/>
  75. <outlet property="namelab" destination="dgV-Q9-qle" id="0ek-8f-Pjb"/>
  76. </connections>
  77. <point key="canvasLocation" x="131.8840579710145" y="198.88392857142856"/>
  78. </tableViewCell>
  79. </objects>
  80. <resources>
  81. <image name="上传附件" width="41.5" height="41.5"/>
  82. <image name="填写状态" width="17.5" height="17.5"/>
  83. <image name="星号" width="5.5" height="6.5"/>
  84. </resources>
  85. </document>