Skip to content

Commit a4864f6

Browse files
Steve TreaseSteve Trease
authored andcommitted
Added build number to Launch screen.
1 parent 0572618 commit a4864f6

File tree

4 files changed

+57
-9
lines changed

4 files changed

+57
-9
lines changed

IP Address.xcodeproj/project.pbxproj

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@
7878
buildConfigurationList = AAE2352E1F91223400FB8E69 /* Build configuration list for PBXNativeTarget "IP Address" */;
7979
buildPhases = (
8080
AAE235181F91223400FB8E69 /* Sources */,
81+
AABD65D91FC708FC00A4B0A1 /* ShellScript */,
8182
AAE235191F91223400FB8E69 /* Frameworks */,
8283
AAE2351A1F91223400FB8E69 /* Resources */,
84+
AABD65DA1FC708FD00A4B0A1 /* ShellScript */,
8385
);
8486
buildRules = (
8587
);
@@ -137,6 +139,35 @@
137139
};
138140
/* End PBXResourcesBuildPhase section */
139141

142+
/* Begin PBXShellScriptBuildPhase section */
143+
AABD65D91FC708FC00A4B0A1 /* ShellScript */ = {
144+
isa = PBXShellScriptBuildPhase;
145+
buildActionMask = 2147483647;
146+
files = (
147+
);
148+
inputPaths = (
149+
);
150+
outputPaths = (
151+
);
152+
runOnlyForDeploymentPostprocessing = 0;
153+
shellPath = /bin/sh;
154+
shellScript = ./updateSplashScreen.sh;
155+
};
156+
AABD65DA1FC708FD00A4B0A1 /* ShellScript */ = {
157+
isa = PBXShellScriptBuildPhase;
158+
buildActionMask = 2147483647;
159+
files = (
160+
);
161+
inputPaths = (
162+
);
163+
outputPaths = (
164+
);
165+
runOnlyForDeploymentPostprocessing = 0;
166+
shellPath = /bin/sh;
167+
shellScript = ./updateBuildVersionNumber.sh;
168+
};
169+
/* End PBXShellScriptBuildPhase section */
170+
140171
/* Begin PBXSourcesBuildPhase section */
141172
AAE235181F91223400FB8E69 /* Sources */ = {
142173
isa = PBXSourcesBuildPhase;
Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,43 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" systemVersion="17A277" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16F71b" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<device id="retina4_0" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
36
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
5-
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
69
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
710
</dependencies>
811
<scenes>
912
<!--View Controller-->
1013
<scene sceneID="EHf-IW-A2E">
1114
<objects>
1215
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
16+
<layoutGuides>
17+
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
18+
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
19+
</layoutGuides>
1320
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
14-
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
21+
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
1522
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
23+
<subviews>
24+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Build: 7 (0572618)" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yhA-lX-4Of" userLabel="APP_VERSION">
25+
<rect key="frame" x="132.5" y="527" width="55.5" height="21"/>
26+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
27+
<nil key="textColor"/>
28+
<nil key="highlightedColor"/>
29+
</label>
30+
</subviews>
1631
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
17-
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
32+
<constraints>
33+
<constraint firstItem="yhA-lX-4Of" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="0ld-gi-EPw"/>
34+
<constraint firstItem="xb3-aO-Qok" firstAttribute="top" secondItem="yhA-lX-4Of" secondAttribute="bottom" constant="20" id="CH1-jU-hiL"/>
35+
</constraints>
1836
</view>
1937
</viewController>
2038
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
2139
</objects>
22-
<point key="canvasLocation" x="53" y="375"/>
40+
<point key="canvasLocation" x="52.5" y="375"/>
2341
</scene>
2442
</scenes>
2543
</document>

IP Address/DNSlookup.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import Foundation
1515

1616

1717

18-
1918
public class DNSLookup {
2019
open static func lookup(_ hostname: String) -> String {
2120
var address:String = ""

IP Address/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundleShortVersionString</key>
1818
<string>1.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>1</string>
20+
<string>7</string>
2121
<key>LSRequiresIPhoneOS</key>
2222
<true/>
2323
<key>UILaunchStoryboardName</key>

0 commit comments

Comments
 (0)