Skip to content

Commit 057552c

Browse files
committed
Improved launch screen.
1 parent 5116af2 commit 057552c

6 files changed

Lines changed: 67 additions & 34 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"idiom" : "universal",
9+
"scale" : "2x"
10+
},
11+
{
12+
"idiom" : "universal",
13+
"scale" : "3x"
14+
},
15+
{
16+
"idiom" : "iphone",
17+
"filename" : "launch_image-2.png",
18+
"scale" : "1x"
19+
},
20+
{
21+
"idiom" : "iphone",
22+
"filename" : "launch_image-1.png",
23+
"scale" : "2x"
24+
},
25+
{
26+
"idiom" : "iphone",
27+
"filename" : "launch_image.png",
28+
"scale" : "3x"
29+
}
30+
],
31+
"info" : {
32+
"version" : 1,
33+
"author" : "xcode"
34+
}
35+
}
5.17 KB
Loading
5.17 KB
Loading
5.17 KB
Loading
Lines changed: 26 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_1" 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,30 @@
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+
<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">
20+
<rect key="frame" x="78.5" y="437.5" width="257" height="31"/>
21+
<fontDescription key="fontDescription" name="Futura-Medium" family="Futura" pointSize="24"/>
22+
<color key="textColor" red="0.3624604344367981" green="0.36252501606941223" blue="0.36244666576385498" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
23+
<nil key="highlightedColor"/>
24+
</label>
25+
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch_image" translatesAutoresizingMaskIntoConstraints="NO" id="Zua-ki-lyJ">
26+
<rect key="frame" x="37" y="140" width="340" height="340"/>
27+
<constraints>
28+
<constraint firstAttribute="height" constant="340" id="g1s-aW-lqS"/>
29+
<constraint firstAttribute="width" constant="340" id="w7c-ro-PY1"/>
30+
</constraints>
31+
</imageView>
4932
</subviews>
5033
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
34+
<constraints>
35+
<constraint firstItem="u4m-FI-Qck" firstAttribute="centerY" secondItem="6Tk-OE-BBY" secondAttribute="centerY" id="U9s-Ss-ZbS"/>
36+
<constraint firstItem="u4m-FI-Qck" firstAttribute="top" secondItem="Zua-ki-lyJ" secondAttribute="bottom" constant="-42.666664123535156" id="WT5-7v-hMx"/>
37+
<constraint firstItem="u4m-FI-Qck" firstAttribute="centerX" secondItem="6Tk-OE-BBY" secondAttribute="centerX" id="nW3-dj-RzR"/>
38+
<constraint firstItem="Zua-ki-lyJ" firstAttribute="centerX" secondItem="6Tk-OE-BBY" secondAttribute="centerX" id="oVL-Xs-Ldu"/>
39+
</constraints>
5140
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
5241
</view>
5342
</viewController>
@@ -56,4 +45,7 @@
5645
<point key="canvasLocation" x="52" y="374.66266866566718"/>
5746
</scene>
5847
</scenes>
48+
<resources>
49+
<image name="launch_image" width="216" height="216"/>
50+
</resources>
5951
</document>

0 commit comments

Comments
 (0)