|
41 | 41 | <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> |
42 | 42 | <subviews> |
43 | 43 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gE4-qu-Fbg"> |
44 | | - <rect key="frame" x="62.5" y="8" width="35" height="44"/> |
| 44 | + <rect key="frame" x="16" y="8" width="35" height="44"/> |
45 | 45 | <constraints> |
46 | 46 | <constraint firstAttribute="height" constant="44" id="LSn-eT-hFL"/> |
47 | 47 | </constraints> |
|
51 | 51 | </connections> |
52 | 52 | </button> |
53 | 53 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="n2S-kO-F6i"> |
54 | | - <rect key="frame" x="20" y="60" width="120" height="44"/> |
| 54 | + <rect key="frame" x="59" y="8" width="120" height="44"/> |
55 | 55 | <constraints> |
56 | 56 | <constraint firstAttribute="height" constant="44" id="Jk5-Ug-mff"/> |
57 | 57 | </constraints> |
|
61 | 61 | </connections> |
62 | 62 | </button> |
63 | 63 | <imageView opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sun" translatesAutoresizingMaskIntoConstraints="NO" id="9aL-bC-GCL"> |
64 | | - <rect key="frame" x="182" y="83" width="121.5" height="121.5"/> |
| 64 | + <rect key="frame" x="182.5" y="83" width="121.5" height="121.5"/> |
65 | 65 | <constraints> |
66 | 66 | <constraint firstAttribute="width" secondItem="9aL-bC-GCL" secondAttribute="height" multiplier="1:1" id="9fQ-wl-ggV"/> |
67 | 67 | </constraints> |
|
72 | 72 | <constraint firstAttribute="width" secondItem="WHI-2I-FcN" secondAttribute="height" multiplier="1588:1008" id="cF5-Q9-QYV"/> |
73 | 73 | </constraints> |
74 | 74 | </imageView> |
| 75 | + <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="cye-0H-NTU"> |
| 76 | + <rect key="frame" x="130" y="59" width="51" height="31"/> |
| 77 | + <connections> |
| 78 | + <action selector="useMiddlePositionSwitchDidChangeValue:" destination="vXZ-lx-hvc" eventType="valueChanged" id="szN-08-Ppg"/> |
| 79 | + </connections> |
| 80 | + </switch> |
| 81 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="use middle position" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hsr-oB-V4F"> |
| 82 | + <rect key="frame" x="16" y="67" width="110" height="14.5"/> |
| 83 | + <fontDescription key="fontDescription" type="system" pointSize="12"/> |
| 84 | + <nil key="textColor"/> |
| 85 | + <nil key="highlightedColor"/> |
| 86 | + </label> |
| 87 | + <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="L4w-pG-YSK"> |
| 88 | + <rect key="frame" x="187" y="8" width="110" height="44"/> |
| 89 | + <constraints> |
| 90 | + <constraint firstAttribute="height" constant="44" id="rbb-OR-JVg"/> |
| 91 | + </constraints> |
| 92 | + <state key="normal" title="Change content"/> |
| 93 | + <connections> |
| 94 | + <action selector="changeContentButtonPressed:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="VYf-DU-oi2"/> |
| 95 | + </connections> |
| 96 | + </button> |
75 | 97 | </subviews> |
76 | 98 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
77 | 99 | <constraints> |
78 | | - <constraint firstItem="n2S-kO-F6i" firstAttribute="centerX" secondItem="kh9-bI-dsS" secondAttribute="centerX" multiplier="0.5" id="1Wd-Ls-ASv"/> |
79 | 100 | <constraint firstItem="9aL-bC-GCL" firstAttribute="width" secondItem="kh9-bI-dsS" secondAttribute="width" multiplier="0.38" priority="999" id="3Ij-WH-oeg"/> |
80 | | - <constraint firstItem="n2S-kO-F6i" firstAttribute="top" secondItem="gE4-qu-Fbg" secondAttribute="bottom" constant="8" id="46E-Pa-N96"/> |
| 101 | + <constraint firstItem="hsr-oB-V4F" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="4nW-J5-0mh"/> |
| 102 | + <constraint firstItem="cye-0H-NTU" firstAttribute="centerY" secondItem="hsr-oB-V4F" secondAttribute="centerY" id="9q3-nv-XpF"/> |
| 103 | + <constraint firstItem="cye-0H-NTU" firstAttribute="trailing" secondItem="n2S-kO-F6i" secondAttribute="trailing" id="B06-F6-Yjn"/> |
81 | 104 | <constraint firstItem="WHI-2I-FcN" firstAttribute="width" secondItem="kh9-bI-dsS" secondAttribute="width" id="BQz-L6-pQX"/> |
| 105 | + <constraint firstItem="gE4-qu-Fbg" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="C2y-IK-33N"/> |
82 | 106 | <constraint firstAttribute="trailingMargin" secondItem="9aL-bC-GCL" secondAttribute="trailing" id="C6x-nZ-IJW"/> |
| 107 | + <constraint firstItem="hsr-oB-V4F" firstAttribute="top" secondItem="gE4-qu-Fbg" secondAttribute="bottom" constant="15" id="FEW-r5-nD2"/> |
| 108 | + <constraint firstAttribute="trailingMargin" relation="greaterThanOrEqual" secondItem="L4w-pG-YSK" secondAttribute="trailing" constant="7" id="JuE-3v-kmg"/> |
| 109 | + <constraint firstItem="L4w-pG-YSK" firstAttribute="centerY" secondItem="n2S-kO-F6i" secondAttribute="centerY" id="KnJ-r3-IaO"/> |
83 | 110 | <constraint firstItem="WHI-2I-FcN" firstAttribute="top" secondItem="9aL-bC-GCL" secondAttribute="bottom" constant="8" id="KoQ-kH-Qqy"/> |
84 | 111 | <constraint firstItem="WHI-2I-FcN" firstAttribute="centerX" secondItem="kh9-bI-dsS" secondAttribute="centerX" id="L9z-XR-MVL"/> |
85 | | - <constraint firstItem="gE4-qu-Fbg" firstAttribute="centerX" secondItem="kh9-bI-dsS" secondAttribute="centerX" multiplier="0.5" id="gpP-x9-sOL"/> |
| 112 | + <constraint firstItem="L4w-pG-YSK" firstAttribute="leading" secondItem="n2S-kO-F6i" secondAttribute="trailing" constant="8" id="Xlg-8v-Izd"/> |
| 113 | + <constraint firstItem="cye-0H-NTU" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="hsr-oB-V4F" secondAttribute="trailing" constant="4" id="dDG-3A-47S"/> |
| 114 | + <constraint firstItem="n2S-kO-F6i" firstAttribute="centerY" secondItem="gE4-qu-Fbg" secondAttribute="centerY" id="g3d-Et-AI6"/> |
| 115 | + <constraint firstItem="n2S-kO-F6i" firstAttribute="leading" secondItem="gE4-qu-Fbg" secondAttribute="trailing" constant="8" id="jOe-kH-kiv"/> |
86 | 116 | <constraint firstItem="gE4-qu-Fbg" firstAttribute="top" secondItem="jyV-Pf-zRb" secondAttribute="bottom" constant="8" id="nN1-xu-vOF"/> |
87 | 117 | <constraint firstAttribute="bottom" secondItem="WHI-2I-FcN" secondAttribute="bottom" id="qxc-6B-GgV"/> |
88 | 118 | </constraints> |
89 | 119 | </view> |
90 | 120 | <extendedEdge key="edgesForExtendedLayout" bottom="YES"/> |
91 | 121 | <navigationItem key="navigationItem" id="xRd-lz-Ipx"/> |
| 122 | + <connections> |
| 123 | + <outlet property="changeContentButton" destination="L4w-pG-YSK" id="uJ3-lV-Qhe"/> |
| 124 | + <outlet property="presentInDrawerButton" destination="n2S-kO-F6i" id="duv-W5-jQx"/> |
| 125 | + <outlet property="pushButton" destination="gE4-qu-Fbg" id="Ahy-0R-7iY"/> |
| 126 | + <outlet property="useMiddlePositionSwitch" destination="cye-0H-NTU" id="7ww-jB-jah"/> |
| 127 | + </connections> |
92 | 128 | </viewController> |
93 | 129 | <placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/> |
94 | 130 | </objects> |
95 | | - <point key="canvasLocation" x="536.25" y="85.563380281690144"/> |
| 131 | + <point key="canvasLocation" x="536.25" y="85"/> |
96 | 132 | </scene> |
97 | 133 | </scenes> |
98 | 134 | <resources> |
|
0 commit comments