|
3 | 3 | <dependencies>
|
4 | 4 | <deployment identifier="iOS"/>
|
5 | 5 | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
|
| 6 | + <capability name="Alignment constraints with different attributes" minToolsVersion="5.1"/> |
| 7 | + <capability name="Constraints to layout margins" minToolsVersion="6.0"/> |
6 | 8 | </dependencies>
|
7 | 9 | <objects>
|
8 | 10 | <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
9 | 11 | <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
10 | 12 | <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MessageView" customModule="SwiftMessages" customModuleProvider="target">
|
11 |
| - <rect key="frame" x="0.0" y="0.0" width="600" height="80"/> |
| 13 | + <rect key="frame" x="0.0" y="0.0" width="600" height="103"/> |
12 | 14 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
13 | 15 | <subviews>
|
14 |
| - <imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="252" verticalHuggingPriority="251" image="errorIcon" translatesAutoresizingMaskIntoConstraints="NO" id="PbA-QP-XpA" userLabel="imageIcon"> |
15 |
| - <rect key="frame" x="20" y="21" width="32" height="39"/> |
16 |
| - </imageView> |
17 |
| - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="😬" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1Bu-DY-qZo" userLabel="iconLabel"> |
18 |
| - <rect key="frame" x="20" y="21" width="32" height="39"/> |
19 |
| - <fontDescription key="fontDescription" type="system" pointSize="32"/> |
20 |
| - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> |
21 |
| - <nil key="highlightedColor"/> |
22 |
| - </label> |
23 |
| - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="90y-Jf-WFn" userLabel="Text container"> |
24 |
| - <rect key="frame" x="72" y="21" width="508" height="39"/> |
| 16 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FRd-Nk-eVT" userLabel="Container"> |
| 17 | + <rect key="frame" x="8" y="8" width="584" height="87"/> |
25 | 18 | <subviews>
|
26 |
| - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="Title" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8T6-4T-ytS"> |
27 |
| - <rect key="frame" x="0.0" y="0.0" width="518" height="20"/> |
28 |
| - <fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/> |
29 |
| - <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> |
30 |
| - <nil key="highlightedColor"/> |
31 |
| - </label> |
32 |
| - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="Message Body" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dFP-4Z-N2a"> |
33 |
| - <rect key="frame" x="0.0" y="19" width="518" height="20"/> |
34 |
| - <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/> |
| 19 | + <imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="252" verticalHuggingPriority="251" image="errorIcon" translatesAutoresizingMaskIntoConstraints="NO" id="PbA-QP-XpA" userLabel="imageIcon"> |
| 20 | + <rect key="frame" x="20" y="34.5" width="32" height="18"/> |
| 21 | + </imageView> |
| 22 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="😬" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1Bu-DY-qZo" userLabel="iconLabel"> |
| 23 | + <rect key="frame" x="20" y="24.5" width="32" height="38.5"/> |
| 24 | + <fontDescription key="fontDescription" type="system" pointSize="32"/> |
35 | 25 | <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
36 | 26 | <nil key="highlightedColor"/>
|
37 | 27 | </label>
|
| 28 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="90y-Jf-WFn" userLabel="Text container"> |
| 29 | + <rect key="frame" x="72" y="24" width="492" height="39.5"/> |
| 30 | + <subviews> |
| 31 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Title" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8T6-4T-ytS"> |
| 32 | + <rect key="frame" x="0.0" y="0.0" width="492" height="19.5"/> |
| 33 | + <fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/> |
| 34 | + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> |
| 35 | + <nil key="highlightedColor"/> |
| 36 | + </label> |
| 37 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Message Body" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dFP-4Z-N2a"> |
| 38 | + <rect key="frame" x="0.0" y="19.5" width="492" height="20"/> |
| 39 | + <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/> |
| 40 | + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> |
| 41 | + <nil key="highlightedColor"/> |
| 42 | + </label> |
| 43 | + </subviews> |
| 44 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
| 45 | + <constraints> |
| 46 | + <constraint firstItem="dFP-4Z-N2a" firstAttribute="leading" secondItem="90y-Jf-WFn" secondAttribute="leading" id="6jt-SY-dxJ"/> |
| 47 | + <constraint firstAttribute="trailing" secondItem="8T6-4T-ytS" secondAttribute="trailing" id="9Yl-uR-LtH"/> |
| 48 | + <constraint firstItem="8T6-4T-ytS" firstAttribute="top" secondItem="90y-Jf-WFn" secondAttribute="top" id="ffB-Ua-jSj"/> |
| 49 | + <constraint firstAttribute="trailing" secondItem="dFP-4Z-N2a" secondAttribute="trailing" id="gAw-js-SaN"/> |
| 50 | + <constraint firstItem="dFP-4Z-N2a" firstAttribute="top" secondItem="8T6-4T-ytS" secondAttribute="bottom" id="gKY-kH-CMA"/> |
| 51 | + <constraint firstAttribute="bottom" secondItem="dFP-4Z-N2a" secondAttribute="bottom" id="rww-g1-SH3"/> |
| 52 | + <constraint firstItem="8T6-4T-ytS" firstAttribute="leading" secondItem="90y-Jf-WFn" secondAttribute="leading" id="ypQ-6p-Wus"/> |
| 53 | + </constraints> |
| 54 | + </view> |
38 | 55 | </subviews>
|
39 | 56 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
40 | 57 | <constraints>
|
41 |
| - <constraint firstItem="dFP-4Z-N2a" firstAttribute="leading" secondItem="90y-Jf-WFn" secondAttribute="leading" id="6jt-SY-dxJ"/> |
42 |
| - <constraint firstAttribute="trailing" secondItem="8T6-4T-ytS" secondAttribute="trailing" id="9Yl-uR-LtH"/> |
43 |
| - <constraint firstItem="8T6-4T-ytS" firstAttribute="top" secondItem="90y-Jf-WFn" secondAttribute="top" id="ffB-Ua-jSj"/> |
44 |
| - <constraint firstAttribute="trailing" secondItem="dFP-4Z-N2a" secondAttribute="trailing" id="gAw-js-SaN"/> |
45 |
| - <constraint firstItem="dFP-4Z-N2a" firstAttribute="top" secondItem="8T6-4T-ytS" secondAttribute="bottom" id="gKY-kH-CMA"/> |
46 |
| - <constraint firstAttribute="bottom" secondItem="dFP-4Z-N2a" secondAttribute="bottom" id="rww-g1-SH3"/> |
47 |
| - <constraint firstItem="8T6-4T-ytS" firstAttribute="leading" secondItem="90y-Jf-WFn" secondAttribute="leading" id="ypQ-6p-Wus"/> |
| 58 | + <constraint firstAttribute="trailing" secondItem="90y-Jf-WFn" secondAttribute="trailing" constant="20" id="7Ne-l9-H5F"/> |
| 59 | + <constraint firstItem="1Bu-DY-qZo" firstAttribute="leading" secondItem="FRd-Nk-eVT" secondAttribute="leading" constant="20" id="BDi-O3-J8K"/> |
| 60 | + <constraint firstItem="90y-Jf-WFn" firstAttribute="top" relation="greaterThanOrEqual" secondItem="FRd-Nk-eVT" secondAttribute="top" constant="20" id="J2N-sf-z4p"/> |
| 61 | + <constraint firstItem="90y-Jf-WFn" firstAttribute="centerY" secondItem="FRd-Nk-eVT" secondAttribute="centerYWithinMargins" id="JsW-xH-y9M"/> |
| 62 | + <constraint firstItem="PbA-QP-XpA" firstAttribute="top" relation="greaterThanOrEqual" secondItem="FRd-Nk-eVT" secondAttribute="top" constant="20" id="Xfo-hE-Qlz"/> |
| 63 | + <constraint firstItem="PbA-QP-XpA" firstAttribute="centerY" secondItem="FRd-Nk-eVT" secondAttribute="centerYWithinMargins" id="aVF-AK-JLI"/> |
| 64 | + <constraint firstItem="1Bu-DY-qZo" firstAttribute="top" relation="greaterThanOrEqual" secondItem="FRd-Nk-eVT" secondAttribute="top" constant="20" id="aVr-8D-CoE"/> |
| 65 | + <constraint firstItem="90y-Jf-WFn" firstAttribute="leading" secondItem="1Bu-DY-qZo" secondAttribute="trailing" constant="20" id="h5O-7j-cl7"/> |
| 66 | + <constraint firstItem="1Bu-DY-qZo" firstAttribute="centerY" secondItem="FRd-Nk-eVT" secondAttribute="centerYWithinMargins" id="i4c-fN-6x2"/> |
| 67 | + <constraint firstItem="PbA-QP-XpA" firstAttribute="leading" secondItem="FRd-Nk-eVT" secondAttribute="leading" constant="20" id="nVS-8Q-AUb"/> |
| 68 | + <constraint firstItem="90y-Jf-WFn" firstAttribute="leading" secondItem="PbA-QP-XpA" secondAttribute="trailing" constant="20" id="odz-Ah-f27"/> |
48 | 69 | </constraints>
|
49 | 70 | </view>
|
50 | 71 | </subviews>
|
51 | 72 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
52 | 73 | <constraints>
|
53 |
| - <constraint firstItem="90y-Jf-WFn" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="2YJ-Sz-f1A"/> |
54 |
| - <constraint firstItem="1Bu-DY-qZo" firstAttribute="centerY" secondItem="PbA-QP-XpA" secondAttribute="centerY" id="3yq-4r-353"/> |
55 |
| - <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="90y-Jf-WFn" secondAttribute="bottom" constant="20" id="7oP-RO-6Ys"/> |
56 |
| - <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="PbA-QP-XpA" secondAttribute="bottom" constant="20" id="HFh-ii-vwL"/> |
57 |
| - <constraint firstItem="PbA-QP-XpA" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="OY1-5P-0QL"/> |
58 |
| - <constraint firstItem="1Bu-DY-qZo" firstAttribute="width" secondItem="PbA-QP-XpA" secondAttribute="width" id="S20-Mo-Pnv"/> |
59 |
| - <constraint firstAttribute="trailing" secondItem="90y-Jf-WFn" secondAttribute="trailing" constant="20" id="UI8-aO-lPt"/> |
60 |
| - <constraint firstItem="1Bu-DY-qZo" firstAttribute="height" secondItem="PbA-QP-XpA" secondAttribute="height" id="WsQ-Iu-9nL"/> |
61 |
| - <constraint firstItem="1Bu-DY-qZo" firstAttribute="centerX" secondItem="PbA-QP-XpA" secondAttribute="centerX" id="oLA-XN-Hma"/> |
62 |
| - <constraint firstItem="90y-Jf-WFn" firstAttribute="leading" secondItem="PbA-QP-XpA" secondAttribute="trailing" constant="20" id="rea-TG-jfC"/> |
63 |
| - <constraint firstItem="PbA-QP-XpA" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="ujI-Pi-Ewy"/> |
| 74 | + <constraint firstAttribute="bottomMargin" secondItem="FRd-Nk-eVT" secondAttribute="bottom" id="2A8-CG-Ai9"/> |
| 75 | + <constraint firstAttribute="trailingMargin" secondItem="FRd-Nk-eVT" secondAttribute="trailing" id="9Ph-3b-gI9"/> |
| 76 | + <constraint firstItem="FRd-Nk-eVT" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="topMargin" id="VKO-GB-Fgv"/> |
| 77 | + <constraint firstItem="FRd-Nk-eVT" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leadingMargin" id="yTo-ES-5GZ"/> |
64 | 78 | </constraints>
|
65 | 79 | <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
| 80 | + <userDefinedRuntimeAttributes> |
| 81 | + <userDefinedRuntimeAttribute type="number" keyPath="bounceAnimationOffset"> |
| 82 | + <real key="value" value="5"/> |
| 83 | + </userDefinedRuntimeAttribute> |
| 84 | + <userDefinedRuntimeAttribute type="number" keyPath="statusBarOffset"> |
| 85 | + <real key="value" value="8"/> |
| 86 | + </userDefinedRuntimeAttribute> |
| 87 | + </userDefinedRuntimeAttributes> |
66 | 88 | <connections>
|
67 | 89 | <outlet property="bodyLabel" destination="dFP-4Z-N2a" id="ixI-dD-l0j"/>
|
68 | 90 | <outlet property="iconImage" destination="PbA-QP-XpA" id="c4A-7m-RqR"/>
|
69 | 91 | <outlet property="iconLabel" destination="1Bu-DY-qZo" id="hiy-dW-5Gr"/>
|
70 | 92 | <outlet property="titleLabel" destination="8T6-4T-ytS" id="kis-2r-nMy"/>
|
71 | 93 | </connections>
|
72 |
| - <point key="canvasLocation" x="360" y="341"/> |
| 94 | + <point key="canvasLocation" x="360" y="352.5"/> |
73 | 95 | </view>
|
74 | 96 | </objects>
|
75 | 97 | <resources>
|
|
0 commit comments