|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
3 |
| - <device id="retina4_7" orientation="portrait"> |
| 3 | + <device id="retina6_1" orientation="portrait"> |
4 | 4 | <adaptation id="fullscreen"/>
|
5 | 5 | </device>
|
6 | 6 | <dependencies>
|
|
12 | 12 | <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
13 | 13 | <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
14 | 14 | <view contentMode="scaleToFill" id="uEa-1P-F1Y" userLabel="Card View" customClass="MessageView" customModule="SwiftMessages">
|
15 |
| - <rect key="frame" x="0.0" y="0.0" width="600" height="160"/> |
| 15 | + <rect key="frame" x="0.0" y="0.0" width="510" height="160"/> |
16 | 16 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
17 | 17 | <subviews>
|
18 | 18 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="A7b-0a-fJG" userLabel="Corner rounding view" customClass="CornerRoundingView" customModule="SwiftMessages" customModuleProvider="target">
|
19 |
| - <rect key="frame" x="20" y="0.0" width="560" height="160"/> |
| 19 | + <rect key="frame" x="20" y="44" width="470" height="82"/> |
20 | 20 | <subviews>
|
21 | 21 | <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="SU0-uJ-4pP" userLabel="Content view">
|
22 |
| - <rect key="frame" x="20" y="20" width="520" height="120"/> |
| 22 | + <rect key="frame" x="20" y="20" width="430" height="42"/> |
23 | 23 | <subviews>
|
24 | 24 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" text="😬" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="T1i-ce-9y8" userLabel="Icon label">
|
25 |
| - <rect key="frame" x="0.0" y="37.5" width="43" height="45.5"/> |
| 25 | + <rect key="frame" x="0.0" y="0.0" width="43" height="42"/> |
26 | 26 | <accessibility key="accessibilityConfiguration">
|
27 | 27 | <bool key="isElement" value="NO"/>
|
28 | 28 | </accessibility>
|
|
31 | 31 | <nil key="highlightedColor"/>
|
32 | 32 | </label>
|
33 | 33 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="252" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" image="errorIcon" translatesAutoresizingMaskIntoConstraints="NO" id="RxA-tv-YM7" userLabel="Icon image view">
|
34 |
| - <rect key="frame" x="53" y="52" width="16" height="16"/> |
| 34 | + <rect key="frame" x="53" y="13" width="16" height="16"/> |
35 | 35 | </imageView>
|
36 | 36 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" translatesAutoresizingMaskIntoConstraints="NO" id="i9r-ex-CgT">
|
37 |
| - <rect key="frame" x="79" y="41" width="374" height="38.5"/> |
| 37 | + <rect key="frame" x="79" y="2" width="284" height="38.5"/> |
38 | 38 | <subviews>
|
39 | 39 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="751" text="[Title]" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8HR-oh-U9F">
|
40 | 40 | <rect key="frame" x="0.0" y="0.0" width="48.5" height="20.5"/>
|
|
59 | 59 | <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
|
60 | 60 | </stackView>
|
61 | 61 | <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="252" horizontalCompressionResistancePriority="752" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CxK-Y3-nSI">
|
62 |
| - <rect key="frame" x="463" y="45" width="57" height="30"/> |
| 62 | + <rect key="frame" x="373" y="6" width="57" height="30"/> |
63 | 63 | <fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
|
64 | 64 | <state key="normal" title="[Button]"/>
|
65 | 65 | </button>
|
66 | 66 | </subviews>
|
| 67 | + <variation key="widthClass=regular" spacing="15"/> |
67 | 68 | </stackView>
|
68 | 69 | </subviews>
|
69 | 70 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
70 | 71 | <constraints>
|
71 | 72 | <constraint firstAttribute="trailing" secondItem="SU0-uJ-4pP" secondAttribute="trailing" constant="20" id="QN2-NH-rWA"/>
|
72 | 73 | <constraint firstItem="SU0-uJ-4pP" firstAttribute="top" secondItem="A7b-0a-fJG" secondAttribute="top" constant="20" id="S9l-zM-0wc"/>
|
73 | 74 | <constraint firstAttribute="bottom" secondItem="SU0-uJ-4pP" secondAttribute="bottom" constant="20" id="YMg-LN-n7f"/>
|
| 75 | + <constraint firstAttribute="width" relation="lessThanOrEqual" priority="900" constant="500" id="lOa-jP-2uX"/> |
74 | 76 | <constraint firstItem="SU0-uJ-4pP" firstAttribute="leading" secondItem="A7b-0a-fJG" secondAttribute="leading" constant="20" id="nYJ-Ok-uhC"/>
|
75 | 77 | </constraints>
|
76 | 78 | <userDefinedRuntimeAttributes>
|
77 | 79 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
|
78 | 80 | <real key="value" value="15"/>
|
79 | 81 | </userDefinedRuntimeAttribute>
|
80 | 82 | </userDefinedRuntimeAttributes>
|
| 83 | + <variation key="default"> |
| 84 | + <mask key="constraints"> |
| 85 | + <exclude reference="lOa-jP-2uX"/> |
| 86 | + </mask> |
| 87 | + </variation> |
| 88 | + <variation key="widthClass=regular"> |
| 89 | + <mask key="constraints"> |
| 90 | + <include reference="lOa-jP-2uX"/> |
| 91 | + </mask> |
| 92 | + </variation> |
81 | 93 | </view>
|
82 | 94 | </subviews>
|
83 | 95 | <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
|
84 | 96 | <constraints>
|
| 97 | + <constraint firstItem="A7b-0a-fJG" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="uEa-1P-F1Y" secondAttribute="leadingMargin" priority="900" id="LWV-wo-Jec"/> |
85 | 98 | <constraint firstAttribute="trailingMargin" secondItem="A7b-0a-fJG" secondAttribute="trailing" priority="900" id="O6e-Yz-cwK"/>
|
86 | 99 | <constraint firstItem="A7b-0a-fJG" firstAttribute="leading" secondItem="uEa-1P-F1Y" secondAttribute="leadingMargin" priority="900" id="RiR-2q-ZY5"/>
|
87 | 100 | <constraint firstItem="A7b-0a-fJG" firstAttribute="centerX" secondItem="uEa-1P-F1Y" secondAttribute="centerX" priority="950" id="jLv-ud-1WD"/>
|
| 101 | + <constraint firstAttribute="trailingMargin" relation="greaterThanOrEqual" secondItem="A7b-0a-fJG" secondAttribute="trailing" priority="900" id="lGg-Ey-I5f"/> |
88 | 102 | <constraint firstItem="A7b-0a-fJG" firstAttribute="top" secondItem="uEa-1P-F1Y" secondAttribute="topMargin" id="yAH-C4-oUg"/>
|
89 | 103 | <constraint firstAttribute="bottomMargin" secondItem="A7b-0a-fJG" secondAttribute="bottom" id="ygs-aa-zj3"/>
|
90 | 104 | </constraints>
|
|
107 | 121 | </userDefinedRuntimeAttribute>
|
108 | 122 | <userDefinedRuntimeAttribute type="boolean" keyPath="collapseLayoutMarginAdditions" value="YES"/>
|
109 | 123 | </userDefinedRuntimeAttributes>
|
| 124 | + <variation key="default"> |
| 125 | + <mask key="constraints"> |
| 126 | + <exclude reference="LWV-wo-Jec"/> |
| 127 | + <exclude reference="lGg-Ey-I5f"/> |
| 128 | + </mask> |
| 129 | + </variation> |
| 130 | + <variation key="widthClass=regular"> |
| 131 | + <mask key="constraints"> |
| 132 | + <include reference="LWV-wo-Jec"/> |
| 133 | + <exclude reference="O6e-Yz-cwK"/> |
| 134 | + <exclude reference="RiR-2q-ZY5"/> |
| 135 | + <include reference="lGg-Ey-I5f"/> |
| 136 | + </mask> |
| 137 | + </variation> |
110 | 138 | <connections>
|
111 | 139 | <outlet property="backgroundView" destination="A7b-0a-fJG" id="R1k-6D-zIA"/>
|
112 | 140 | <outlet property="bodyLabel" destination="9oc-qg-igL" id="ebS-73-kbp"/>
|
|
115 | 143 | <outlet property="iconLabel" destination="T1i-ce-9y8" id="XiD-0J-kdm"/>
|
116 | 144 | <outlet property="titleLabel" destination="8HR-oh-U9F" id="Zbb-wl-ubV"/>
|
117 | 145 | </connections>
|
118 |
| - <point key="canvasLocation" x="484" y="387"/> |
| 146 | + <point key="canvasLocation" x="510.35156249999994" y="386.96925329428984"/> |
119 | 147 | </view>
|
120 | 148 | </objects>
|
121 | 149 | <resources>
|
|
0 commit comments