Skip to content

Commit 28d24ab

Browse files
Fix xib warnings
1 parent b3b5453 commit 28d24ab

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

OTRResources/Interface/Onboarding.storyboard

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
3535
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
3636
<subviews>
37-
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="chatsecure_logo_transparent" translatesAutoresizingMaskIntoConstraints="NO" id="7Yv-8V-PyJ">
38-
<rect key="frame" x="200" y="95" width="200" height="249"/>
37+
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chatsecure_logo_transparent" translatesAutoresizingMaskIntoConstraints="NO" id="7Yv-8V-PyJ">
38+
<rect key="frame" x="87.5" y="75" width="200" height="249"/>
3939
<constraints>
4040
<constraint firstAttribute="width" constant="200" id="2dD-bn-1ed"/>
4141
<constraint firstAttribute="height" constant="249" id="a9S-9w-qFB"/>
4242
</constraints>
4343
</imageView>
44-
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RzG-Jv-y0g">
45-
<rect key="frame" x="204" y="413" width="194" height="38"/>
44+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RzG-Jv-y0g">
45+
<rect key="frame" x="93.5" y="393" width="188" height="38"/>
4646
<fontDescription key="fontDescription" type="system" pointSize="21"/>
4747
<state key="normal" title="Create New Account">
4848
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
@@ -51,17 +51,17 @@
5151
<segue destination="ZvQ-dC-bHm" kind="show" identifier="createNewAccountSegue" id="BF6-Uh-6zt"/>
5252
</connections>
5353
</button>
54-
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VS9-AF-nlm">
55-
<rect key="frame" x="43" y="550" width="146" height="30"/>
54+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VS9-AF-nlm">
55+
<rect key="frame" x="39" y="617" width="146" height="30"/>
5656
<state key="normal" title="Add Existing Account">
5757
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
5858
</state>
5959
<connections>
6060
<segue destination="ZvQ-dC-bHm" kind="show" identifier="addExistingAccount" id="fSh-dA-tdB"/>
6161
</connections>
6262
</button>
63-
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KXC-AD-yXL">
64-
<rect key="frame" x="527" y="550" width="30" height="30"/>
63+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KXC-AD-yXL">
64+
<rect key="frame" x="306" y="617" width="30" height="30"/>
6565
<state key="normal" title="Skip">
6666
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
6767
</state>
@@ -131,11 +131,11 @@
131131
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
132132
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
133133
<subviews>
134-
<view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="JPq-4W-Efa">
135-
<rect key="frame" x="159" y="437" width="283" height="163"/>
134+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JPq-4W-Efa">
135+
<rect key="frame" x="46" y="367" width="283" height="300"/>
136136
<subviews>
137-
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J3U-aD-4Vu">
138-
<rect key="frame" x="91" y="65" width="101" height="33"/>
137+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J3U-aD-4Vu">
138+
<rect key="frame" x="91" y="133.5" width="101" height="33"/>
139139
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
140140
<state key="normal" title="Enable Push"/>
141141
<connections>
@@ -149,15 +149,15 @@
149149
<constraint firstItem="J3U-aD-4Vu" firstAttribute="centerX" secondItem="JPq-4W-Efa" secondAttribute="centerX" id="h6f-S5-xU8"/>
150150
</constraints>
151151
</view>
152-
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="i8G-bh-AN7">
153-
<rect key="frame" x="550" y="550" width="30" height="30"/>
152+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="i8G-bh-AN7">
153+
<rect key="frame" x="329" y="617" width="30" height="30"/>
154154
<state key="normal" title="Skip"/>
155155
<connections>
156156
<action selector="skipButtonPressed:" destination="3du-AF-GcQ" eventType="touchUpInside" id="W2J-VJ-LFv"/>
157157
</connections>
158158
</button>
159-
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="PushOnboarding" translatesAutoresizingMaskIntoConstraints="NO" id="kk6-yK-Mn4">
160-
<rect key="frame" x="164" y="42" width="230" height="230"/>
159+
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="PushOnboarding" translatesAutoresizingMaskIntoConstraints="NO" id="kk6-yK-Mn4">
160+
<rect key="frame" x="76.5" y="22" width="180" height="180"/>
161161
<constraints>
162162
<constraint firstAttribute="width" constant="230" id="X7X-8n-ejF">
163163
<variation key="widthClass=compact" constant="180"/>
@@ -167,8 +167,8 @@
167167
</constraint>
168168
</constraints>
169169
</imageView>
170-
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" misplaced="YES" editable="NO" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QUe-lg-gJ2">
171-
<rect key="frame" x="159" y="287" width="283" height="150"/>
170+
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QUe-lg-gJ2">
171+
<rect key="frame" x="46" y="217" width="283" height="150"/>
172172
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
173173
<accessibility key="accessibilityConfiguration">
174174
<accessibilityTraits key="traits" notEnabled="YES"/>

OTRResources/Interface/XMPPServerInfoCell.xib

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616
<rect key="frame" x="0.0" y="0.0" width="380" height="90"/>
1717
<autoresizingMask key="autoresizingMask"/>
1818
<subviews>
19-
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="dukgo.png" translatesAutoresizingMaskIntoConstraints="NO" id="hHR-8h-o2Q">
20-
<rect key="frame" x="8" y="8" width="73" height="73"/>
19+
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="dukgo.png" translatesAutoresizingMaskIntoConstraints="NO" id="hHR-8h-o2Q">
20+
<rect key="frame" x="20" y="11" width="68" height="68"/>
2121
<constraints>
2222
<constraint firstAttribute="width" secondItem="hHR-8h-o2Q" secondAttribute="height" multiplier="1:1" id="onm-ks-XXD"/>
2323
</constraints>
2424
</imageView>
25-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" misplaced="YES" text="DuckDuckGo" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="56T-Do-MIi">
26-
<rect key="frame" x="89" y="8" width="99" height="20"/>
25+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="DuckDuckGo" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="56T-Do-MIi">
26+
<rect key="frame" x="96" y="11" width="105" height="20"/>
2727
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
2828
<nil key="highlightedColor"/>
2929
</label>
30-
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="right" contentVerticalAlignment="bottom" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CBS-et-sIv">
31-
<rect key="frame" x="299" y="70" width="73" height="16"/>
30+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="bottom" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CBS-et-sIv">
31+
<rect key="frame" x="281" y="68" width="79" height="16"/>
3232
<constraints>
3333
<constraint firstAttribute="height" constant="16" id="G91-sn-s8G"/>
3434
</constraints>
@@ -40,20 +40,20 @@
4040
<action selector="privacyPolicyButtonPressed:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="21q-TQ-u75"/>
4141
</connections>
4242
</button>
43-
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="US" translatesAutoresizingMaskIntoConstraints="NO" id="klT-BC-fCG">
44-
<rect key="frame" x="274" y="65" width="20" height="16"/>
43+
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="US" translatesAutoresizingMaskIntoConstraints="NO" id="klT-BC-fCG">
44+
<rect key="frame" x="256" y="63" width="20" height="16"/>
4545
<constraints>
4646
<constraint firstAttribute="width" constant="20" id="7js-Ss-F8w"/>
4747
<constraint firstAttribute="height" constant="16" id="vrX-CT-qrq"/>
4848
</constraints>
4949
</imageView>
50-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="The search engine that doesn't track you." lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7On-ZS-OEq">
51-
<rect key="frame" x="89" y="31" width="268" height="17"/>
50+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="The search engine that doesn't track you." lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7On-ZS-OEq">
51+
<rect key="frame" x="96" y="34" width="216.5" height="18"/>
5252
<fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
5353
<nil key="highlightedColor"/>
5454
</label>
55-
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9aM-Hd-hB1">
56-
<rect key="frame" x="89" y="62" width="22" height="22"/>
55+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9aM-Hd-hB1">
56+
<rect key="frame" x="96" y="60" width="22" height="22"/>
5757
<constraints>
5858
<constraint firstAttribute="width" constant="22" id="Wpx-f3-kDk"/>
5959
<constraint firstAttribute="height" constant="22" id="wGM-CF-oAG"/>
@@ -65,15 +65,15 @@
6565
<action selector="twitterButtonPressed:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="xv7-Ab-os8"/>
6666
</connections>
6767
</button>
68-
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="Tor_Onion" translatesAutoresizingMaskIntoConstraints="NO" id="PoT-GB-gap">
69-
<rect key="frame" x="210" y="62" width="22" height="19"/>
68+
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Tor_Onion" translatesAutoresizingMaskIntoConstraints="NO" id="PoT-GB-gap">
69+
<rect key="frame" x="192" y="60" width="22" height="19"/>
7070
<constraints>
7171
<constraint firstAttribute="width" constant="22" id="MvA-Po-Mpl"/>
7272
<constraint firstAttribute="height" constant="19" id="viX-2X-FIo"/>
7373
</constraints>
7474
</imageView>
75-
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pXf-Jy-Kgn">
76-
<rect key="frame" x="288" y="8" width="84" height="20"/>
75+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pXf-Jy-Kgn">
76+
<rect key="frame" x="270" y="11" width="90" height="20"/>
7777
<constraints>
7878
<constraint firstAttribute="height" constant="20" id="3mq-e9-yYe"/>
7979
</constraints>
@@ -85,8 +85,8 @@
8585
<action selector="domainButtonPressed:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="eeV-io-G7M"/>
8686
</connections>
8787
</button>
88-
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="right" contentVerticalAlignment="bottom" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="F39-4j-6Os">
89-
<rect key="frame" x="210" y="60" width="56" height="26"/>
88+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="bottom" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="F39-4j-6Os">
89+
<rect key="frame" x="192" y="57" width="56" height="27"/>
9090
<constraints>
9191
<constraint firstAttribute="width" constant="56" id="Wg4-zj-9fT"/>
9292
</constraints>

0 commit comments

Comments
 (0)