PlaceholderView.xib 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="dark"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
  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" customClass="ChatPlaceholderView">
  13. <connections>
  14. <outlet property="contentView" destination="iN0-l3-epB" id="OnQ-or-tGk"/>
  15. <outlet property="loadingView" destination="FB3-Ig-rQB" id="gOr-Ol-aYj"/>
  16. <outlet property="placeholderImage" destination="VTo-Dp-QXn" id="RiU-2M-0W8"/>
  17. <outlet property="placeholderTextView" destination="pmx-ec-gNw" id="YIT-Hn-RsI"/>
  18. <outlet property="placeholderView" destination="Vla-vD-TGa" id="56h-KR-IJ3"/>
  19. </connections>
  20. </placeholder>
  21. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  22. <view contentMode="scaleToFill" id="iN0-l3-epB">
  23. <rect key="frame" x="0.0" y="0.0" width="350" height="350"/>
  24. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  25. <subviews>
  26. <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="medium" translatesAutoresizingMaskIntoConstraints="NO" id="FB3-Ig-rQB">
  27. <rect key="frame" x="165" y="175" width="20" height="20"/>
  28. <color key="color" systemColor="placeholderTextColor"/>
  29. </activityIndicatorView>
  30. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Vla-vD-TGa">
  31. <rect key="frame" x="16" y="40" width="318" height="290"/>
  32. <subviews>
  33. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chat-placeholder" translatesAutoresizingMaskIntoConstraints="NO" id="VTo-Dp-QXn">
  34. <rect key="frame" x="95" y="17" width="128" height="128"/>
  35. <constraints>
  36. <constraint firstAttribute="height" constant="128" id="HMf-1J-e5D"/>
  37. <constraint firstAttribute="width" constant="128" id="ert-mq-fmE"/>
  38. </constraints>
  39. </imageView>
  40. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" text="No messages yet, start the conversation!" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="pmx-ec-gNw">
  41. <rect key="frame" x="0.0" y="145" width="318" height="145"/>
  42. <color key="textColor" systemColor="placeholderTextColor"/>
  43. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  44. <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
  45. <dataDetectorType key="dataDetectorTypes" phoneNumber="YES" link="YES" address="YES" calendarEvent="YES" shipmentTrackingNumber="YES" flightNumber="YES" lookupSuggestion="YES"/>
  46. </textView>
  47. </subviews>
  48. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  49. <constraints>
  50. <constraint firstAttribute="bottom" secondItem="pmx-ec-gNw" secondAttribute="bottom" id="8lK-bu-TwT"/>
  51. <constraint firstItem="VTo-Dp-QXn" firstAttribute="centerX" secondItem="Vla-vD-TGa" secondAttribute="centerX" id="HYF-RJ-y8q"/>
  52. <constraint firstItem="pmx-ec-gNw" firstAttribute="leading" secondItem="Vla-vD-TGa" secondAttribute="leading" id="KKv-DW-NOa"/>
  53. <constraint firstItem="VTo-Dp-QXn" firstAttribute="top" relation="greaterThanOrEqual" secondItem="Vla-vD-TGa" secondAttribute="top" id="P2e-ge-Hoi"/>
  54. <constraint firstItem="pmx-ec-gNw" firstAttribute="height" secondItem="Vla-vD-TGa" secondAttribute="height" multiplier="0.5" id="gI8-Om-K0y"/>
  55. <constraint firstAttribute="trailing" secondItem="pmx-ec-gNw" secondAttribute="trailing" id="h8u-LI-cCf"/>
  56. <constraint firstItem="VTo-Dp-QXn" firstAttribute="bottom" secondItem="pmx-ec-gNw" secondAttribute="top" id="iKn-nx-5ef"/>
  57. <constraint firstItem="pmx-ec-gNw" firstAttribute="width" secondItem="Vla-vD-TGa" secondAttribute="width" id="wwW-vJ-RFD"/>
  58. </constraints>
  59. </view>
  60. </subviews>
  61. <viewLayoutGuide key="safeArea" id="MQb-YF-lsB"/>
  62. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  63. <constraints>
  64. <constraint firstItem="FB3-Ig-rQB" firstAttribute="centerY" secondItem="MQb-YF-lsB" secondAttribute="centerY" id="JXb-4p-Q1n"/>
  65. <constraint firstItem="Vla-vD-TGa" firstAttribute="leading" secondItem="MQb-YF-lsB" secondAttribute="leading" constant="16" id="O8w-gy-WDd"/>
  66. <constraint firstItem="MQb-YF-lsB" firstAttribute="bottom" secondItem="Vla-vD-TGa" secondAttribute="bottom" constant="20" id="bOS-hV-MdP"/>
  67. <constraint firstItem="FB3-Ig-rQB" firstAttribute="centerX" secondItem="MQb-YF-lsB" secondAttribute="centerX" id="o9d-6d-Hew"/>
  68. <constraint firstItem="MQb-YF-lsB" firstAttribute="trailing" secondItem="Vla-vD-TGa" secondAttribute="trailing" constant="16" id="ocj-LQ-CoL"/>
  69. <constraint firstItem="Vla-vD-TGa" firstAttribute="top" secondItem="MQb-YF-lsB" secondAttribute="top" constant="20" id="ygl-nN-far"/>
  70. </constraints>
  71. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  72. <point key="canvasLocation" x="16" y="-236.58170914542731"/>
  73. </view>
  74. </objects>
  75. <resources>
  76. <image name="chat-placeholder" width="128" height="128"/>
  77. <systemColor name="placeholderTextColor">
  78. <color red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.29803921568627451" colorSpace="custom" customColorSpace="sRGB"/>
  79. </systemColor>
  80. <systemColor name="systemBackgroundColor">
  81. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  82. </systemColor>
  83. </resources>
  84. </document>