Skip to content

Commit 03241ee

Browse files
committed
update storyboards
1 parent a5e9396 commit 03241ee

File tree

3 files changed

+29
-36
lines changed

3 files changed

+29
-36
lines changed

Example/PulsatorDemo.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
292292
DEVELOPMENT_TEAM = 9Z86A4AWDE;
293293
INFOPLIST_FILE = PulsatorDemo/Info.plist;
294-
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
294+
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
295295
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
296296
PRODUCT_BUNDLE_IDENTIFIER = "Shuichi-Tsutsumi.Pulsator";
297297
PRODUCT_NAME = PulsatorDemo;
@@ -306,7 +306,7 @@
306306
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
307307
DEVELOPMENT_TEAM = 9Z86A4AWDE;
308308
INFOPLIST_FILE = PulsatorDemo/Info.plist;
309-
IPHONEOS_DEPLOYMENT_TARGET = 8.4;
309+
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
310310
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
311311
PRODUCT_BUNDLE_IDENTIFIER = "Shuichi-Tsutsumi.Pulsator";
312312
PRODUCT_NAME = PulsatorDemo;

Example/PulsatorDemo/Base.lproj/LaunchScreen.storyboard

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1010
</dependencies>
1111
<scenes>

Example/PulsatorDemo/Base.lproj/Main.storyboard

Lines changed: 25 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
9+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
910
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1011
</dependencies>
11-
<customFonts key="customFonts">
12-
<array key="HelveticaNeueLights.ttc">
13-
<string>HelveticaNeue-Light</string>
14-
</array>
15-
</customFonts>
1612
<scenes>
1713
<!--View Controller-->
1814
<scene sceneID="tne-QT-ifu">
1915
<objects>
2016
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="PulsatorDemo" customModuleProvider="target" sceneMemberID="viewController">
21-
<layoutGuides>
22-
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
23-
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
24-
</layoutGuides>
2517
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
2618
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
2719
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -239,23 +231,23 @@
239231
</constraints>
240232
</view>
241233
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zbM-rN-3V8">
242-
<rect key="frame" x="0.0" y="0.0" width="375" height="351"/>
234+
<rect key="frame" x="0.0" y="20" width="375" height="331"/>
243235
<subviews>
244236
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFit" image="Image" translatesAutoresizingMaskIntoConstraints="NO" id="39F-Wg-tNQ">
245-
<rect key="frame" x="162.5" y="150.5" width="50" height="50"/>
237+
<rect key="frame" x="162.5" y="140.5" width="50" height="50"/>
246238
<constraints>
247239
<constraint firstAttribute="width" constant="50" id="6eu-Rc-zNc"/>
248240
<constraint firstAttribute="height" constant="50" id="E2a-w0-Nc0"/>
249241
</constraints>
250242
</imageView>
251243
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cEz-GH-jqL">
252-
<rect key="frame" x="16" y="28" width="51" height="31"/>
244+
<rect key="frame" x="16" y="20" width="51" height="31"/>
253245
<connections>
254246
<action selector="switchChangedWithSender:" destination="BYZ-38-t0r" eventType="valueChanged" id="dcp-Yy-7bd"/>
255247
</connections>
256248
</switch>
257249
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eTL-7b-CjK">
258-
<rect key="frame" x="326" y="28" width="33" height="30"/>
250+
<rect key="frame" x="326" y="20" width="33" height="30"/>
259251
<state key="normal" title="MAP"/>
260252
<connections>
261253
<segue destination="BYb-6F-9wz" kind="presentation" modalTransitionStyle="flipHorizontal" id="9mf-Gx-SHm"/>
@@ -267,23 +259,24 @@
267259
<constraint firstItem="eTL-7b-CjK" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="zbM-rN-3V8" secondAttribute="leading" constant="20" symbolic="YES" id="8hM-TE-cVU"/>
268260
<constraint firstItem="39F-Wg-tNQ" firstAttribute="centerY" secondItem="zbM-rN-3V8" secondAttribute="centerY" id="Bbf-F4-rPr"/>
269261
<constraint firstItem="39F-Wg-tNQ" firstAttribute="centerX" secondItem="zbM-rN-3V8" secondAttribute="centerX" id="N5D-BR-nAc"/>
270-
<constraint firstItem="cEz-GH-jqL" firstAttribute="top" secondItem="zbM-rN-3V8" secondAttribute="top" constant="28" id="T9Y-98-GhZ"/>
262+
<constraint firstItem="cEz-GH-jqL" firstAttribute="top" secondItem="zbM-rN-3V8" secondAttribute="top" constant="20" id="T9Y-98-GhZ"/>
271263
<constraint firstAttribute="trailing" secondItem="eTL-7b-CjK" secondAttribute="trailing" constant="16" id="bLb-Ye-crx"/>
272264
<constraint firstItem="cEz-GH-jqL" firstAttribute="leading" secondItem="zbM-rN-3V8" secondAttribute="leading" constant="16" id="fKK-uZ-MSq"/>
273-
<constraint firstItem="eTL-7b-CjK" firstAttribute="top" secondItem="zbM-rN-3V8" secondAttribute="top" constant="28" id="hi0-yc-gpZ"/>
265+
<constraint firstItem="eTL-7b-CjK" firstAttribute="top" secondItem="zbM-rN-3V8" secondAttribute="top" constant="20" id="hi0-yc-gpZ"/>
274266
</constraints>
275267
</view>
276268
</subviews>
277269
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
278270
<constraints>
279-
<constraint firstAttribute="trailing" secondItem="rrO-M5-Ok2" secondAttribute="trailing" id="6TY-bl-SDP"/>
280-
<constraint firstItem="zbM-rN-3V8" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="Bq7-la-b0p"/>
281-
<constraint firstAttribute="trailing" secondItem="zbM-rN-3V8" secondAttribute="trailing" id="CV7-cZ-ycX"/>
282-
<constraint firstItem="rrO-M5-Ok2" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="T85-vt-pXh"/>
271+
<constraint firstItem="mJI-4A-gne" firstAttribute="trailing" secondItem="rrO-M5-Ok2" secondAttribute="trailing" id="6TY-bl-SDP"/>
272+
<constraint firstItem="zbM-rN-3V8" firstAttribute="leading" secondItem="mJI-4A-gne" secondAttribute="leading" id="Bq7-la-b0p"/>
273+
<constraint firstItem="mJI-4A-gne" firstAttribute="trailing" secondItem="zbM-rN-3V8" secondAttribute="trailing" id="CV7-cZ-ycX"/>
274+
<constraint firstItem="rrO-M5-Ok2" firstAttribute="leading" secondItem="mJI-4A-gne" secondAttribute="leading" id="T85-vt-pXh"/>
283275
<constraint firstItem="rrO-M5-Ok2" firstAttribute="top" secondItem="zbM-rN-3V8" secondAttribute="bottom" id="WXL-rG-rZ3"/>
284-
<constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="rrO-M5-Ok2" secondAttribute="bottom" id="WxZ-qW-jvH"/>
285-
<constraint firstItem="zbM-rN-3V8" firstAttribute="top" secondItem="8bC-Xf-vdC" secondAttribute="top" id="aw0-NZ-SR4"/>
276+
<constraint firstItem="mJI-4A-gne" firstAttribute="bottom" secondItem="rrO-M5-Ok2" secondAttribute="bottom" id="WxZ-qW-jvH"/>
277+
<constraint firstItem="zbM-rN-3V8" firstAttribute="top" secondItem="mJI-4A-gne" secondAttribute="top" id="aw0-NZ-SR4"/>
286278
</constraints>
279+
<viewLayoutGuide key="safeArea" id="mJI-4A-gne"/>
287280
</view>
288281
<connections>
289282
<outlet property="aLabel" destination="5Mu-aB-9Jj" id="Eay-RX-x3s"/>
@@ -311,10 +304,6 @@
311304
<scene sceneID="cxw-q2-uH6">
312305
<objects>
313306
<viewController id="BYb-6F-9wz" customClass="MapViewController" customModule="PulsatorDemo" customModuleProvider="target" sceneMemberID="viewController">
314-
<layoutGuides>
315-
<viewControllerLayoutGuide type="top" id="U9R-FC-MsE"/>
316-
<viewControllerLayoutGuide type="bottom" id="Ko4-WT-CHI"/>
317-
</layoutGuides>
318307
<view key="view" contentMode="scaleToFill" id="MDV-d0-lsp">
319308
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
320309
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -326,7 +315,10 @@
326315
</connections>
327316
</mapView>
328317
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Km6-Xq-pLG">
329-
<rect key="frame" x="16" y="28" width="34" height="30"/>
318+
<rect key="frame" x="16" y="28" width="44" height="30"/>
319+
<constraints>
320+
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="44" id="OfQ-V9-FpZ"/>
321+
</constraints>
330322
<state key="normal" title="Back"/>
331323
<connections>
332324
<action selector="backBtnTappedWithSender:" destination="BYb-6F-9wz" eventType="touchUpInside" id="oeL-IP-5Ln"/>
@@ -335,22 +327,23 @@
335327
</subviews>
336328
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
337329
<constraints>
338-
<constraint firstItem="Km6-Xq-pLG" firstAttribute="leading" secondItem="MDV-d0-lsp" secondAttribute="leading" constant="16" id="4If-cH-D6f"/>
339-
<constraint firstAttribute="bottom" secondItem="mDt-e4-vCx" secondAttribute="bottom" id="OxA-R4-qj3"/>
330+
<constraint firstItem="Km6-Xq-pLG" firstAttribute="leading" secondItem="6D6-Xm-iqo" secondAttribute="leading" constant="16" id="4If-cH-D6f"/>
331+
<constraint firstItem="6D6-Xm-iqo" firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Km6-Xq-pLG" secondAttribute="trailing" constant="20" symbolic="YES" id="KU9-Yh-fWu"/>
340332
<constraint firstItem="Km6-Xq-pLG" firstAttribute="top" secondItem="MDV-d0-lsp" secondAttribute="top" constant="28" id="Sja-Jx-oKN"/>
341333
<constraint firstItem="mDt-e4-vCx" firstAttribute="leading" secondItem="MDV-d0-lsp" secondAttribute="leading" id="YND-C5-ohV"/>
342334
<constraint firstItem="mDt-e4-vCx" firstAttribute="top" secondItem="MDV-d0-lsp" secondAttribute="top" id="dzM-fS-gg8"/>
343335
<constraint firstAttribute="trailing" secondItem="mDt-e4-vCx" secondAttribute="trailing" id="knN-LT-Hhe"/>
344-
<constraint firstItem="Ko4-WT-CHI" firstAttribute="top" secondItem="mDt-e4-vCx" secondAttribute="bottom" id="p0v-LQ-JAu"/>
336+
<constraint firstAttribute="bottom" secondItem="mDt-e4-vCx" secondAttribute="bottom" id="p0v-LQ-JAu"/>
345337
</constraints>
338+
<viewLayoutGuide key="safeArea" id="6D6-Xm-iqo"/>
346339
</view>
347340
<connections>
348341
<outlet property="mapView" destination="mDt-e4-vCx" id="qIr-rT-oQG"/>
349342
</connections>
350343
</viewController>
351344
<placeholder placeholderIdentifier="IBFirstResponder" id="pma-LL-lSg" userLabel="First Responder" sceneMemberID="firstResponder"/>
352345
</objects>
353-
<point key="canvasLocation" x="972" y="354.87256371814095"/>
346+
<point key="canvasLocation" x="1092" y="355"/>
354347
</scene>
355348
</scenes>
356349
<resources>

0 commit comments

Comments
 (0)