Skip to content

Commit edf3b48

Browse files
committed
Updated Main.storyboard
1 parent f710940 commit edf3b48

1 file changed

Lines changed: 20 additions & 14 deletions

File tree

TOSegmentedControlExample/Main.storyboard

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="s9L-5g-lrU">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="24408" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="s9L-5g-lrU">
33
<device id="retina6_5" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="24402"/>
77
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
8+
<capability name="System colors in document resources" minToolsVersion="11.0"/>
89
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
910
</dependencies>
1011
<scenes>
@@ -17,10 +18,10 @@
1718
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1819
<subviews>
1920
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="S5K-RK-Gno" userLabel="BottomContainer">
20-
<rect key="frame" x="0.0" y="560.33333333333337" width="414" height="301.66666666666663"/>
21+
<rect key="frame" x="0.0" y="571.33333333333337" width="414" height="256.66666666666663"/>
2122
<subviews>
2223
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="First Selected" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pwD-VJ-sLV">
23-
<rect key="frame" x="132.66666666666669" y="137" width="148.66666666666669" height="27.666666666666657"/>
24+
<rect key="frame" x="133" y="114.66666666666664" width="148" height="27.666666666666671"/>
2425
<fontDescription key="fontDescription" type="boldSystem" pointSize="23"/>
2526
<nil key="textColor"/>
2627
<nil key="highlightedColor"/>
@@ -33,10 +34,10 @@
3334
</constraints>
3435
</view>
3536
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="A4r-nn-NTO" userLabel="TopContainer">
36-
<rect key="frame" x="0.0" y="44" width="414" height="301.66666666666669"/>
37+
<rect key="frame" x="0.0" y="88" width="414" height="256.66666666666669"/>
3738
<subviews>
3839
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="First Selected" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sjH-n0-avO">
39-
<rect key="frame" x="132.66666666666669" y="137" width="148.66666666666669" height="27.666666666666657"/>
40+
<rect key="frame" x="133" y="114.66666666666667" width="148" height="27.666666666666671"/>
4041
<fontDescription key="fontDescription" type="boldSystem" pointSize="23"/>
4142
<nil key="textColor"/>
4243
<nil key="highlightedColor"/>
@@ -49,7 +50,7 @@
4950
</constraints>
5051
</view>
5152
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="47" translatesAutoresizingMaskIntoConstraints="NO" id="0Qa-CG-QHl">
52-
<rect key="frame" x="47" y="345.66666666666669" width="320" height="214.66666666666669"/>
53+
<rect key="frame" x="47" y="344.66666666666669" width="320" height="226.66666666666669"/>
5354
<subviews>
5455
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" alignment="center" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="EJ6-2M-G2q">
5556
<rect key="frame" x="0.0" y="0.0" width="320" height="83.333333333333329"/>
@@ -72,13 +73,13 @@
7273
</connections>
7374
</segmentedControl>
7475
</subviews>
76+
<viewLayoutGuide key="safeArea" id="GVh-KB-Wct"/>
7577
<constraints>
7678
<constraint firstItem="idK-8t-llR" firstAttribute="width" secondItem="EJ6-2M-G2q" secondAttribute="width" id="fvf-ap-nwF"/>
7779
</constraints>
78-
<viewLayoutGuide key="safeArea" id="GVh-KB-Wct"/>
7980
</stackView>
8081
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" alignment="center" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="5od-9A-AUH">
81-
<rect key="frame" x="0.0" y="130.33333333333331" width="320" height="84.333333333333314"/>
82+
<rect key="frame" x="0.0" y="130.33333333333331" width="320" height="96.333333333333314"/>
8283
<subviews>
8384
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="TOSegmentedControl" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hMm-ki-8tm">
8485
<rect key="frame" x="22.333333333333343" y="0.0" width="275.66666666666663" height="32.333333333333336"/>
@@ -87,10 +88,10 @@
8788
<nil key="highlightedColor"/>
8889
</label>
8990
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8wQ-al-Ecf" customClass="TOSegmentedControl">
90-
<rect key="frame" x="0.0" y="52.333333333333371" width="320" height="32"/>
91-
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
91+
<rect key="frame" x="0.0" y="52.333333333333371" width="320" height="44"/>
92+
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
9293
<constraints>
93-
<constraint firstAttribute="height" constant="32" id="9J6-T7-g7C"/>
94+
<constraint firstAttribute="height" constant="44" id="9J6-T7-g7C"/>
9495
</constraints>
9596
</view>
9697
</subviews>
@@ -105,7 +106,8 @@
105106
</constraints>
106107
</stackView>
107108
</subviews>
108-
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
109+
<viewLayoutGuide key="safeArea" id="tXf-lg-ywe"/>
110+
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
109111
<constraints>
110112
<constraint firstItem="0Qa-CG-QHl" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="tXf-lg-ywe" secondAttribute="leading" constant="20" id="1wj-JT-J3G"/>
111113
<constraint firstItem="A4r-nn-NTO" firstAttribute="top" secondItem="tXf-lg-ywe" secondAttribute="top" id="4ta-7M-eSh"/>
@@ -120,7 +122,6 @@
120122
<constraint firstItem="A4r-nn-NTO" firstAttribute="bottom" secondItem="0Qa-CG-QHl" secondAttribute="top" id="u0x-0z-ZPY"/>
121123
<constraint firstItem="0Qa-CG-QHl" firstAttribute="centerY" secondItem="tXf-lg-ywe" secondAttribute="centerY" id="yvp-Yh-8S7"/>
122124
</constraints>
123-
<viewLayoutGuide key="safeArea" id="tXf-lg-ywe"/>
124125
</view>
125126
<connections>
126127
<outlet property="classicSegmentedControl" destination="idK-8t-llR" id="IFx-2j-r8d"/>
@@ -134,4 +135,9 @@
134135
<point key="canvasLocation" x="131.8840579710145" y="123.88392857142857"/>
135136
</scene>
136137
</scenes>
138+
<resources>
139+
<systemColor name="systemBackgroundColor">
140+
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
141+
</systemColor>
142+
</resources>
137143
</document>

0 commit comments

Comments
 (0)