Skip to content

Commit 75b1aca

Browse files
add launch screen
1 parent e0feac7 commit 75b1aca

File tree

3 files changed

+69
-1
lines changed

3 files changed

+69
-1
lines changed

Questions.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
65746A5B20B62B8900F28769 /* TopicEntry.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65746A5A20B62B8900F28769 /* TopicEntry.swift */; };
4949
657B1CB31F9292DE00D127F0 /* SettingsTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 657B1CB21F9292DE00D127F0 /* SettingsTableViewController.swift */; };
5050
657B1CB71F92B0CF00D127F0 /* FeedbackGenerator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 657B1CB61F92B0CF00D127F0 /* FeedbackGenerator.swift */; };
51+
65806AE72659A4D900EE18D2 /* Launch Screen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 65806AE62659A4D900EE18D2 /* Launch Screen.storyboard */; };
5152
65822A141E7D5F4C00A1FE61 /* UIAlertController+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65822A131E7D5F4C00A1FE61 /* UIAlertController+Extension.swift */; };
5253
6583F2DA224ADF9A0061F77D /* SideVolumeHUDView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6583F2D7224ADF9A0061F77D /* SideVolumeHUDView.swift */; };
5354
6583F2DB224ADF9A0061F77D /* SideVolumeHUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6583F2D8224ADF9A0061F77D /* SideVolumeHUD.swift */; };
@@ -135,6 +136,7 @@
135136
65746A5A20B62B8900F28769 /* TopicEntry.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TopicEntry.swift; sourceTree = "<group>"; };
136137
657B1CB21F9292DE00D127F0 /* SettingsTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsTableViewController.swift; sourceTree = "<group>"; };
137138
657B1CB61F92B0CF00D127F0 /* FeedbackGenerator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedbackGenerator.swift; sourceTree = "<group>"; };
139+
65806AE62659A4D900EE18D2 /* Launch Screen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = "Launch Screen.storyboard"; sourceTree = "<group>"; };
138140
6580B8502659A0CB00396F60 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
139141
65822A131E7D5F4C00A1FE61 /* UIAlertController+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIAlertController+Extension.swift"; sourceTree = "<group>"; };
140142
6583F2D7224ADF9A0061F77D /* SideVolumeHUDView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SideVolumeHUDView.swift; sourceTree = "<group>"; };
@@ -405,6 +407,7 @@
405407
65E12DA721C27B330067B4D0 /* config */,
406408
65CB4C511D29C3E300D2E1C1 /* Info.plist */,
407409
65CB4C491D29C3E300D2E1C1 /* Main.storyboard */,
410+
65806AE62659A4D900EE18D2 /* Launch Screen.storyboard */,
408411
);
409412
path = Questions;
410413
sourceTree = "<group>";
@@ -675,6 +678,7 @@
675678
65479F13206A92300042790F /* ImagesTest.json in Resources */,
676679
65456AED1D2BBEF90048965E /* Localizable.strings in Resources */,
677680
65D1EAFF1D3E89E80003C8DA /* Assets.xcassets in Resources */,
681+
65806AE72659A4D900EE18D2 /* Launch Screen.storyboard in Resources */,
678682
65E12DC021C27D9A0067B4D0 /* Default-568h@2x.png in Resources */,
679683
65E12DB621C27C540067B4D0 /* index-demo-idea.html in Resources */,
680684
65AF1D0121C8E645001C68E7 /* bootstrap.min.js in Resources */,

Questions/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<key>UIFileSharingEnabled</key>
3030
<true/>
3131
<key>UILaunchStoryboardName</key>
32-
<string>Main</string>
32+
<string>Launch Screen</string>
3333
<key>UIMainStoryboardFile</key>
3434
<string>Main</string>
3535
<key>UIRequiredDeviceCapabilities</key>

Questions/Launch Screen.storyboard

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="RTK-0E-ig4">
3+
<device id="retina6_1" orientation="portrait" appearance="light"/>
4+
<dependencies>
5+
<deployment identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
7+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
8+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
9+
</dependencies>
10+
<scenes>
11+
<!--Questions-->
12+
<scene sceneID="V4L-am-1pk">
13+
<objects>
14+
<viewController id="RTK-0E-ig4" sceneMemberID="viewController">
15+
<view key="view" contentMode="scaleToFill" id="kSA-LF-reA">
16+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
17+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18+
<subviews>
19+
<imageView userInteractionEnabled="NO" alpha="0.85000002384185791" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bg" translatesAutoresizingMaskIntoConstraints="NO" id="3oI-Yy-naT">
20+
<rect key="frame" x="-719.5" y="-25" width="1853" height="946"/>
21+
</imageView>
22+
</subviews>
23+
<viewLayoutGuide key="safeArea" id="r5t-ia-Gcb"/>
24+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
25+
<constraints>
26+
<constraint firstItem="3oI-Yy-naT" firstAttribute="centerX" secondItem="r5t-ia-Gcb" secondAttribute="centerX" id="1rx-vQ-sxo"/>
27+
<constraint firstItem="3oI-Yy-naT" firstAttribute="width" secondItem="kSA-LF-reA" secondAttribute="width" multiplier="1.1" id="YHb-ux-AJk"/>
28+
<constraint firstAttribute="bottom" secondItem="3oI-Yy-naT" secondAttribute="bottom" constant="-25" id="fzb-z6-zbx"/>
29+
<constraint firstItem="3oI-Yy-naT" firstAttribute="width" secondItem="r5t-ia-Gcb" secondAttribute="width" multiplier="1.35" id="j0R-yW-i88"/>
30+
<constraint firstItem="3oI-Yy-naT" firstAttribute="top" secondItem="kSA-LF-reA" secondAttribute="top" multiplier="1.2" constant="-25" id="qOg-sn-zd2"/>
31+
</constraints>
32+
<variation key="default">
33+
<mask key="constraints">
34+
<exclude reference="YHb-ux-AJk"/>
35+
<exclude reference="j0R-yW-i88"/>
36+
</mask>
37+
</variation>
38+
<variation key="heightClass=compact-widthClass=compact">
39+
<mask key="constraints">
40+
<include reference="YHb-ux-AJk"/>
41+
</mask>
42+
</variation>
43+
<variation key="heightClass=compact-widthClass=regular">
44+
<mask key="constraints">
45+
<include reference="YHb-ux-AJk"/>
46+
</mask>
47+
</variation>
48+
<variation key="heightClass=regular-widthClass=regular">
49+
<mask key="constraints">
50+
<include reference="j0R-yW-i88"/>
51+
</mask>
52+
</variation>
53+
</view>
54+
<navigationItem key="navigationItem" title="Questions" largeTitleDisplayMode="always" id="W7U-iU-dsD"/>
55+
</viewController>
56+
<placeholder placeholderIdentifier="IBFirstResponder" id="fBi-H2-UQm" userLabel="First Responder" sceneMemberID="firstResponder"/>
57+
</objects>
58+
<point key="canvasLocation" x="-141" y="1075"/>
59+
</scene>
60+
</scenes>
61+
<resources>
62+
<image name="bg" width="1853" height="1853"/>
63+
</resources>
64+
</document>

0 commit comments

Comments
 (0)