-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettingsViewController.xib
92 lines (92 loc) · 8.31 KB
/
SettingsViewController.xib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8191" systemVersion="15A284" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SettingsViewController" customModule="Tipper" customModuleProvider="target">
<connections>
<outlet property="defaultTipControl" destination="g5g-FY-DN3" id="UrB-Qf-b51"/>
<outlet property="switchValue" destination="NcF-cz-FTS" id="Ohr-Qr-tGo"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="1" translatesAutoresizingMaskIntoConstraints="NO" id="g5g-FY-DN3">
<rect key="frame" x="133" y="196" width="335" height="29"/>
<animations/>
<constraints>
<constraint firstAttribute="width" secondItem="g5g-FY-DN3" secondAttribute="height" multiplier="335:28" id="OZV-FM-5Aj"/>
</constraints>
<segments>
<segment title="10%"/>
<segment title="15%"/>
<segment title="20%"/>
</segments>
<color key="tintColor" red="0.96862745100000003" green="0.0" blue="0.58039215690000001" alpha="1" colorSpace="calibratedRGB"/>
<connections>
<action selector="defaultTipControlChange:" destination="-1" eventType="valueChanged" id="44A-Ea-vP5"/>
</connections>
</segmentedControl>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Default Tip Percentage:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xjt-Pz-jd9">
<rect key="frame" x="133" y="119" width="270" height="54"/>
<animations/>
<constraints>
<constraint firstAttribute="width" constant="270" id="P5B-vo-DEh"/>
<constraint firstAttribute="height" constant="54" id="Pli-UU-gS8"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.96862745100000003" green="0.0" blue="0.58039215690000001" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Apperance:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tuF-Dw-0jk">
<rect key="frame" x="133" y="263" width="130" height="20.5"/>
<animations/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.96862745100000003" green="0.0" blue="0.58039215690000001" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Dark Theme:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5gN-2y-x4C">
<rect key="frame" x="133" y="305" width="133.5" height="20.5"/>
<animations/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
<color key="textColor" red="0.96862745100000003" green="0.0" blue="0.58039215690000001" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="NcF-cz-FTS">
<rect key="frame" x="276" y="300" width="51" height="31"/>
<animations/>
<color key="tintColor" red="0.96862745100000003" green="0.0" blue="0.58039215690000001" alpha="1" colorSpace="calibratedRGB"/>
<color key="onTintColor" red="0.96862745100000003" green="0.0" blue="0.58039215690000001" alpha="1" colorSpace="calibratedRGB"/>
<connections>
<action selector="turnSwitch:" destination="-1" eventType="valueChanged" id="lAG-LP-uiy"/>
</connections>
</switch>
</subviews>
<animations/>
<color key="backgroundColor" red="0.99607843139999996" green="0.64705882349999999" blue="0.85098039219999999" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="tuF-Dw-0jk" firstAttribute="leading" secondItem="g5g-FY-DN3" secondAttribute="leading" id="FaE-9R-c10"/>
<constraint firstItem="5gN-2y-x4C" firstAttribute="leading" secondItem="tuF-Dw-0jk" secondAttribute="leading" id="JSr-JG-wbF"/>
<constraint firstItem="5gN-2y-x4C" firstAttribute="top" secondItem="tuF-Dw-0jk" secondAttribute="bottom" constant="21.5" id="OHs-yJ-r0O"/>
<constraint firstItem="xjt-Pz-jd9" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="119" id="S32-p3-7nF"/>
<constraint firstItem="NcF-cz-FTS" firstAttribute="top" secondItem="g5g-FY-DN3" secondAttribute="bottom" constant="76" id="VXf-Qy-37E"/>
<constraint firstItem="tuF-Dw-0jk" firstAttribute="width" secondItem="i5M-Pr-FkT" secondAttribute="height" multiplier="13:60" id="W1p-ix-qjX"/>
<constraint firstItem="5gN-2y-x4C" firstAttribute="width" secondItem="tuF-Dw-0jk" secondAttribute="height" multiplier="13:2" id="cOu-Ih-UZu"/>
<constraint firstItem="g5g-FY-DN3" firstAttribute="top" secondItem="xjt-Pz-jd9" secondAttribute="bottom" constant="23" id="g7U-uy-hwj"/>
<constraint firstItem="tuF-Dw-0jk" firstAttribute="top" secondItem="g5g-FY-DN3" secondAttribute="bottom" constant="39" id="gfh-an-sQd"/>
<constraint firstItem="NcF-cz-FTS" firstAttribute="width" secondItem="g5g-FY-DN3" secondAttribute="height" multiplier="7:4" id="gsF-el-c7A"/>
<constraint firstItem="NcF-cz-FTS" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="iKd-Jf-MfM"/>
<constraint firstItem="g5g-FY-DN3" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="oLm-bK-OfD"/>
<constraint firstItem="NcF-cz-FTS" firstAttribute="leading" secondItem="5gN-2y-x4C" secondAttribute="trailing" constant="9.5" id="otK-Qm-PSg"/>
<constraint firstItem="xjt-Pz-jd9" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" constant="-32" id="wRN-Lv-UWL"/>
</constraints>
</view>
</objects>
</document>