Skip to content

Commit 85ee96e

Browse files
committed
Update storyboard for dark mode.
1 parent 3220ba1 commit 85ee96e

1 file changed

Lines changed: 22 additions & 16 deletions

File tree

Example/Example/Base.lproj/Main.storyboard

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11201" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="Xa3-wA-iyT">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15400" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="Xa3-wA-iyT">
3+
<device id="retina6_1" orientation="portrait" appearance="light"/>
34
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
5-
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
5+
<deployment identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15404"/>
67
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
78
</dependencies>
89
<scenes>
@@ -11,16 +12,21 @@
1112
<objects>
1213
<tableViewController id="dLa-XM-tnL" customClass="ViewController" customModule="AztecExample" customModuleProvider="target" sceneMemberID="viewController">
1314
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="18" sectionFooterHeight="18" id="aCg-qL-Bjp">
14-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
15+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
1516
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
16-
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
17+
<color key="backgroundColor" systemColor="systemGroupedBackgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.96862745100000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
18+
<color key="tintColor" systemColor="systemBlueColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
19+
<color key="separatorColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
20+
<color key="sectionIndexColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
21+
<color key="sectionIndexBackgroundColor" systemColor="systemGroupedBackgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.96862745100000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
1722
<prototypes>
1823
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CellIdentifier" id="qo0-pV-osF">
19-
<rect key="frame" x="0.0" y="119.5" width="375" height="44"/>
24+
<rect key="frame" x="0.0" y="55.5" width="414" height="44"/>
2025
<autoresizingMask key="autoresizingMask"/>
2126
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="qo0-pV-osF" id="8JQ-dS-Cdh">
22-
<frame key="frameInset" width="375" height="43.5"/>
27+
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
2328
<autoresizingMask key="autoresizingMask"/>
29+
<color key="backgroundColor" cocoaTouchSystemColor="tableCellGroupedBackgroundColor"/>
2430
</tableViewCellContentView>
2531
</tableViewCell>
2632
</prototypes>
@@ -44,16 +50,16 @@
4450
<viewControllerLayoutGuide type="bottom" id="ZEP-a0-JgH"/>
4551
</layoutGuides>
4652
<view key="view" contentMode="scaleToFill" id="TWZ-yb-CMI">
47-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
53+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
4854
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
4955
<subviews>
5056
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="w8z-is-5FM">
51-
<frame key="frameInset" minX="180" minY="236" width="3" height="20"/>
57+
<rect key="frame" x="180" y="236" width="3" height="20"/>
5258
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
5359
<color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
5460
</view>
5561
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" misplaced="YES" usesAttributedText="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yFc-rm-m3C">
56-
<frame key="frameInset" minX="73" width="600" height="600"/>
62+
<rect key="frame" x="73" y="0.0" width="600" height="600"/>
5763
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
5864
<attributedString key="attributedText"/>
5965
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
@@ -85,11 +91,11 @@
8591
<viewControllerLayoutGuide type="bottom" id="tZp-mZ-BM8"/>
8692
</layoutGuides>
8793
<view key="view" contentMode="scaleToFill" id="pyu-jY-ESw">
88-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
94+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
8995
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
9096
<subviews>
9197
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" misplaced="YES" usesAttributedText="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yCI-Vs-ZmB">
92-
<frame key="frameInset" width="600" height="600"/>
98+
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
9399
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
94100
<attributedString key="attributedText"/>
95101
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
@@ -123,11 +129,11 @@
123129
<viewControllerLayoutGuide type="bottom" id="6EB-tz-iNk"/>
124130
</layoutGuides>
125131
<view key="view" contentMode="scaleToFill" id="sdZ-dG-t9p">
126-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
132+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
127133
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
128134
<subviews>
129135
<toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZEK-ad-Hg3">
130-
<frame key="frameInset" minY="20" width="600" height="44"/>
136+
<rect key="frame" x="0.0" y="20" width="600" height="44"/>
131137
<items>
132138
<barButtonItem title="B" id="fPu-Uf-Zs9">
133139
<connections>
@@ -157,7 +163,7 @@
157163
</items>
158164
</toolbar>
159165
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" misplaced="YES" usesAttributedText="YES" translatesAutoresizingMaskIntoConstraints="NO" id="DeM-yw-u6b">
160-
<frame key="frameInset" minY="64" width="600" height="536"/>
166+
<rect key="frame" x="0.0" y="64" width="600" height="536"/>
161167
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
162168
<attributedString key="attributedText"/>
163169
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
@@ -188,7 +194,7 @@
188194
<objects>
189195
<navigationController id="Xa3-wA-iyT" sceneMemberID="viewController">
190196
<navigationBar key="navigationBar" contentMode="scaleToFill" id="JtR-gB-2vV">
191-
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
197+
<rect key="frame" x="0.0" y="44" width="414" height="44"/>
192198
<autoresizingMask key="autoresizingMask"/>
193199
</navigationBar>
194200
<connections>

0 commit comments

Comments
 (0)