CommentFooterView.xib 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="24128" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="24063"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  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. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="CommentFooterView">
  15. <rect key="frame" x="0.0" y="0.0" width="393" height="50"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Fqw-Jl-v6b">
  19. <rect key="frame" x="16" y="24.666666666666668" width="20" height="1"/>
  20. <color key="backgroundColor" red="0.94509803921568625" green="0.94901960784313721" blue="0.95686274509803915" alpha="1" colorSpace="calibratedRGB"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="1" id="n9a-kX-gsd"/>
  23. <constraint firstAttribute="width" constant="20" id="rRg-Kx-Y49"/>
  24. </constraints>
  25. </view>
  26. <button opaque="NO" contentMode="scaleToFill" semanticContentAttribute="forceRightToLeft" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vXa-wE-olC">
  27. <rect key="frame" x="40" y="16.666666666666668" width="43" height="17.000000000000004"/>
  28. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  29. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  30. <state key="normal" title="展开 " image="展开-1">
  31. <color key="titleColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
  32. </state>
  33. <state key="selected" title="收起 " image="展开-2"/>
  34. <connections>
  35. <action selector="btnClicked:" destination="iN0-l3-epB" eventType="touchUpInside" id="duc-6c-8gA"/>
  36. </connections>
  37. </button>
  38. </subviews>
  39. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  40. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  41. <constraints>
  42. <constraint firstItem="Fqw-Jl-v6b" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="1NM-ZS-uA6"/>
  43. <constraint firstItem="vXa-wE-olC" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="77j-gs-qZS"/>
  44. <constraint firstItem="Fqw-Jl-v6b" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="16" id="8yz-x1-mn1"/>
  45. <constraint firstItem="vXa-wE-olC" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="40" id="laf-N3-Iob"/>
  46. </constraints>
  47. <nil key="simulatedTopBarMetrics"/>
  48. <nil key="simulatedBottomBarMetrics"/>
  49. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  50. <connections>
  51. <outlet property="btnOpen" destination="vXa-wE-olC" id="G24-ku-G6C"/>
  52. </connections>
  53. <point key="canvasLocation" x="159.54198473282443" y="264.08450704225356"/>
  54. </view>
  55. </objects>
  56. <resources>
  57. <image name="展开-1" width="11" height="6.6666665077209473"/>
  58. <image name="展开-2" width="11" height="7"/>
  59. <systemColor name="systemBackgroundColor">
  60. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  61. </systemColor>
  62. </resources>
  63. </document>