Skip to content

Commit a940334

Browse files
committed
Add LaunchScreen NIB file
1 parent da6e020 commit a940334

File tree

6 files changed

+35
-0
lines changed

6 files changed

+35
-0
lines changed

WorldFacts/[email protected]

-5.87 KB
Binary file not shown.

WorldFacts/Default.png

-1.81 KB
Binary file not shown.

WorldFacts/[email protected]

-5.36 KB
Binary file not shown.

WorldFacts/WorldFacts.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
538A7992157E567F0007B8A5 /* WorldFacts.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 538A7990157E567F0007B8A5 /* WorldFacts.xcdatamodeld */; };
1616
538A79A4157E5A730007B8A5 /* UYLCountryTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 538A79A3157E5A730007B8A5 /* UYLCountryTableViewController.m */; };
1717
538A79B2157E80D40007B8A5 /* countries.plist in Resources */ = {isa = PBXBuildFile; fileRef = 538A79B1157E80D40007B8A5 /* countries.plist */; };
18+
5391E1CD1A38F80700218F41 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5391E1CC1A38F80700218F41 /* LaunchScreen.xib */; };
1819
53A87BE7157FA30A000DBAC9 /* Country+Extensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 53A87BE6157FA30A000DBAC9 /* Country+Extensions.m */; };
1920
53A87BF1157FAD42000DBAC9 /* Country.m in Sources */ = {isa = PBXBuildFile; fileRef = 53A87BF0157FAD42000DBAC9 /* Country.m */; };
2021
53E7826D1A3658590075A619 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 53E7826C1A3658590075A619 /* Images.xcassets */; };
@@ -35,6 +36,7 @@
3536
538A79A2157E5A730007B8A5 /* UYLCountryTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UYLCountryTableViewController.h; sourceTree = "<group>"; };
3637
538A79A3157E5A730007B8A5 /* UYLCountryTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UYLCountryTableViewController.m; sourceTree = "<group>"; };
3738
538A79B1157E80D40007B8A5 /* countries.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = countries.plist; sourceTree = "<group>"; };
39+
5391E1CC1A38F80700218F41 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = "<group>"; };
3840
53A87BE5157FA30A000DBAC9 /* Country+Extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Country+Extensions.h"; sourceTree = "<group>"; };
3941
53A87BE6157FA30A000DBAC9 /* Country+Extensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "Country+Extensions.m"; sourceTree = "<group>"; };
4042
53A87BEF157FAD42000DBAC9 /* Country.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Country.h; sourceTree = "<group>"; };
@@ -137,6 +139,7 @@
137139
53E782721A365AE60075A619 /* Main.storyboard */,
138140
53EDC98F1A37AF03005CDB68 /* CountryCell.h */,
139141
53EDC9901A37AF03005CDB68 /* CountryCell.m */,
142+
5391E1CC1A38F80700218F41 /* LaunchScreen.xib */,
140143
);
141144
name = Views;
142145
sourceTree = "<group>";
@@ -197,6 +200,7 @@
197200
538A79B2157E80D40007B8A5 /* countries.plist in Resources */,
198201
53E7826D1A3658590075A619 /* Images.xcassets in Resources */,
199202
53E782701A365AE60075A619 /* Main.storyboard in Resources */,
203+
5391E1CD1A38F80700218F41 /* LaunchScreen.xib in Resources */,
200204
532CADEB158D1286002BEDC8 /* README in Resources */,
201205
);
202206
runOnlyForDeploymentPostprocessing = 0;
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6254" systemVersion="14B25" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
3+
<dependencies>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
5+
</dependencies>
6+
<objects>
7+
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
8+
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
9+
<view contentMode="scaleToFill" id="ECa-Q0-aC9">
10+
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
11+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
12+
<subviews>
13+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="useyourloaf.com" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.25000000000000006" translatesAutoresizingMaskIntoConstraints="NO" id="qNH-lB-w8r">
14+
<rect key="frame" x="20" y="271" width="560" height="58"/>
15+
<fontDescription key="fontDescription" name="HelveticaNeue-Bold" family="Helvetica Neue" pointSize="48"/>
16+
<color key="textColor" red="0.80000001192092896" green="0.80000001192092896" blue="0.80000001192092896" alpha="1" colorSpace="calibratedRGB"/>
17+
<nil key="highlightedColor"/>
18+
</label>
19+
</subviews>
20+
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
21+
<constraints>
22+
<constraint firstAttribute="centerY" secondItem="qNH-lB-w8r" secondAttribute="centerY" id="S62-RN-Fqt"/>
23+
<constraint firstItem="qNH-lB-w8r" firstAttribute="leading" secondItem="ECa-Q0-aC9" secondAttribute="leading" constant="20" symbolic="YES" id="wk6-PJ-qsH"/>
24+
<constraint firstAttribute="trailing" secondItem="qNH-lB-w8r" secondAttribute="trailing" constant="20" symbolic="YES" id="zYn-l7-T5Z"/>
25+
</constraints>
26+
<point key="canvasLocation" x="221" y="130"/>
27+
</view>
28+
</objects>
29+
</document>

WorldFacts/WorldFacts/WorldFacts-Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<string>2.0</string>
2525
<key>LSRequiresIPhoneOS</key>
2626
<true/>
27+
<key>UILaunchStoryboardName</key>
28+
<string>LaunchScreen</string>
2729
<key>UIMainStoryboardFile</key>
2830
<string>Main</string>
2931
<key>UISupportedInterfaceOrientations</key>

0 commit comments

Comments
 (0)