Skip to content

Commit ffd776f

Browse files
authored
Merge pull request #39 from Metaxa007/feature/splash-screen
Closes #14
2 parents 4f45db7 + 7f9b54a commit ffd776f

5 files changed

Lines changed: 55 additions & 34 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "launch_image.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"filename" : "launch_image@2x.png",
11+
"scale" : "2x"
12+
},
13+
{
14+
"idiom" : "universal",
15+
"filename" : "launch_image@3x.png",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"version" : 1,
21+
"author" : "xcode"
22+
}
23+
}
23.2 KB
Loading
53.3 KB
Loading
63.2 KB
Loading
Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3-
<device id="retina4_7" orientation="portrait">
4-
<adaptation id="fullscreen"/>
5-
</device>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<device id="retina6_5" orientation="portrait" appearance="light"/>
64
<dependencies>
75
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15510"/>
97
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
108
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
119
</dependencies>
@@ -15,39 +13,36 @@
1513
<objects>
1614
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
1715
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
18-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
16+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
1917
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2018
<subviews>
21-
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" usesAttributedText="YES" translatesAutoresizingMaskIntoConstraints="NO" id="NIw-eq-wmR">
22-
<rect key="frame" x="29" y="141" width="318" height="146"/>
23-
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
24-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
25-
<attributedString key="attributedText">
26-
<fragment content="Welcome to OpenDocument Reader!">
27-
<attributes>
28-
<font key="NSFont" size="36" name="Arial-BoldMT"/>
29-
<paragraphStyle key="NSParagraphStyle" alignment="right" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
30-
</attributes>
31-
</fragment>
32-
</attributedString>
33-
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
34-
</textView>
35-
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" usesAttributedText="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6bP-eF-b7K">
36-
<rect key="frame" x="45" y="318" width="287" height="128"/>
37-
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES"/>
38-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
39-
<attributedString key="attributedText">
40-
<fragment content="Choose a compatible file to get started!">
41-
<attributes>
42-
<font key="NSFont" size="14" name="ArialMT"/>
43-
<paragraphStyle key="NSParagraphStyle" alignment="center" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
44-
</attributes>
45-
</fragment>
46-
</attributedString>
47-
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
48-
</textView>
19+
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="4mC-lE-Fm1">
20+
<rect key="frame" x="52" y="319.33333333333326" width="310" height="267.66666666666674"/>
21+
<subviews>
22+
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch_image" translatesAutoresizingMaskIntoConstraints="NO" id="Zua-ki-lyJ">
23+
<rect key="frame" x="55" y="0.0" width="200" height="200"/>
24+
<constraints>
25+
<constraint firstAttribute="height" constant="200" id="jsI-Fh-zlX"/>
26+
<constraint firstAttribute="width" constant="200" id="maA-Wv-Yax"/>
27+
</constraints>
28+
</imageView>
29+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="OpenDocument Reader" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u4m-FI-Qck">
30+
<rect key="frame" x="0.0" y="230.00000000000006" width="310" height="37.666666666666686"/>
31+
<fontDescription key="fontDescription" name="Futura-Medium" family="Futura" pointSize="29"/>
32+
<color key="textColor" red="0.3624604344367981" green="0.36252501606941223" blue="0.36244666576385498" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
33+
<nil key="highlightedColor"/>
34+
<variation key="heightClass=compact-widthClass=compact">
35+
<fontDescription key="fontDescription" name="Futura-Medium" family="Futura" pointSize="24"/>
36+
</variation>
37+
</label>
38+
</subviews>
39+
</stackView>
4940
</subviews>
5041
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
42+
<constraints>
43+
<constraint firstItem="4mC-lE-Fm1" firstAttribute="centerX" secondItem="6Tk-OE-BBY" secondAttribute="centerX" id="RoO-Jr-aSF"/>
44+
<constraint firstItem="4mC-lE-Fm1" firstAttribute="centerY" secondItem="6Tk-OE-BBY" secondAttribute="centerY" id="mi6-O9-0b9"/>
45+
</constraints>
5146
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
5247
</view>
5348
</viewController>
@@ -56,4 +51,7 @@
5651
<point key="canvasLocation" x="52" y="374.66266866566718"/>
5752
</scene>
5853
</scenes>
54+
<resources>
55+
<image name="launch_image" width="54.666667938232422" height="71.333335876464844"/>
56+
</resources>
5957
</document>

0 commit comments

Comments
 (0)