Skip to content

Commit 3f3cc58

Browse files
committed
Create storyboards
1 parent 18592a4 commit 3f3cc58

8 files changed

+114
-196
lines changed

Base.lproj/Main.storyboard

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="h48-r7-9YD">
3+
<device id="retina4_7" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
6+
<dependencies>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/>
9+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10+
</dependencies>
11+
<scenes>
12+
<!--View Controller-->
13+
<scene sceneID="Oq3-ny-ojh">
14+
<objects>
15+
<viewController id="h48-r7-9YD" sceneMemberID="viewController">
16+
<layoutGuides>
17+
<viewControllerLayoutGuide type="top" id="jyd-Z9-abf"/>
18+
<viewControllerLayoutGuide type="bottom" id="G6r-Do-Tt0"/>
19+
</layoutGuides>
20+
<view key="view" contentMode="scaleToFill" id="gZT-g0-sLH">
21+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
22+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
23+
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
24+
</view>
25+
</viewController>
26+
<placeholder placeholderIdentifier="IBFirstResponder" id="P05-us-kEe" userLabel="First Responder" sceneMemberID="firstResponder"/>
27+
</objects>
28+
<point key="canvasLocation" x="156" y="177"/>
29+
</scene>
30+
</scenes>
31+
</document>

Classes/GPSStoneTripRecorderAppDelegate.m

-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ - (void)applicationDidFinishLaunching:(UIApplication *)application
6161
self.mainViewController = aController;
6262

6363
[UIApplication.sharedApplication setStatusBarStyle:VSO_APPLICATION_STATUS_BAR_STYLE animated:NO];
64-
window.rootViewController = mainViewController;
65-
[window makeKeyAndVisible];
6664

6765
if ([fm fileExistsAtPath:VSO_PATH_TO_NICE_EXIT_WITNESS]) {
6866
NSLog(@"Last exit was forced");

Default.png

-41 KB
Binary file not shown.

GPS Stone Trip Recorder.xcodeproj/project.pbxproj

+28-8
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
0F852ED4103C2945008895AD /* road.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0F852ED3103C2945008895AD /* road.jpg */; };
4141
0F852FFA103C4C9E008895AD /* vso-logo.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 0F852FF9103C4C9E008895AD /* vso-logo.pdf */; };
4242
0F853027103C555E008895AD /* vso-logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 0F853026103C555E008895AD /* vso-logo.png */; };
43-
0F85304C103C56AE008895AD /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 0F85304B103C56AE008895AD /* Default.png */; };
4443
0F87BA4E103D4651007CFAAA /* road_fabrice_info_view.png in Resources */ = {isa = PBXBuildFile; fileRef = 0F87BA4D103D4651007CFAAA /* road_fabrice_info_view.png */; };
4544
0FA3D1DD10302ED80098760F /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0FA3D1DC10302ED80098760F /* MessageUI.framework */; };
4645
0FB4B0FC10074B20005292C4 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0FB4B0FB10074B20005292C4 /* MapKit.framework */; };
@@ -69,13 +68,14 @@
6968
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
7069
280E754D0DD40C5E005A515E /* VSOSettingsView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 280E754A0DD40C5E005A515E /* VSOSettingsView.xib */; };
7170
280E754E0DD40C5E005A515E /* MainView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 280E754B0DD40C5E005A515E /* MainView.xib */; };
72-
280E754F0DD40C5E005A515E /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 280E754C0DD40C5E005A515E /* MainWindow.xib */; };
7371
288765590DF743DE002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765580DF743DE002DB57D /* CoreGraphics.framework */; };
7472
289233A60DB2D0840083E9F9 /* VSOSettingsView.m in Sources */ = {isa = PBXBuildFile; fileRef = 289233A30DB2D0840083E9F9 /* VSOSettingsView.m */; };
7573
289233A70DB2D0840083E9F9 /* MainView.m in Sources */ = {isa = PBXBuildFile; fileRef = 289233A50DB2D0840083E9F9 /* MainView.m */; };
7674
289233AE0DB2D0DB0083E9F9 /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 289233A90DB2D0DB0083E9F9 /* MainViewController.m */; };
7775
289233B00DB2D0DB0083E9F9 /* VSOSettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 289233AD0DB2D0DB0083E9F9 /* VSOSettingsViewController.m */; };
7876
7B482CE11DCA8ADD007B5ABC /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 7B482CDF1DCA8ADD007B5ABC /* Localizable.strings */; };
77+
7B482CE51DCA95F4007B5ABC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7B482CE41DCA95F4007B5ABC /* LaunchScreen.storyboard */; };
78+
7B482CE61DCA975F007B5ABC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7B482CE81DCA975F007B5ABC /* Main.storyboard */; };
7979
/* End PBXBuildFile section */
8080

8181
/* Begin PBXFileReference section */
@@ -127,7 +127,6 @@
127127
0F852ED3103C2945008895AD /* road.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = road.jpg; path = "UI Resources/Datas/icon/road.jpg"; sourceTree = "<group>"; };
128128
0F852FF9103C4C9E008895AD /* vso-logo.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = "vso-logo.pdf"; sourceTree = "<group>"; };
129129
0F853026103C555E008895AD /* vso-logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "vso-logo.png"; sourceTree = "<group>"; };
130-
0F85304B103C56AE008895AD /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
131130
0F87BA4D103D4651007CFAAA /* road_fabrice_info_view.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = road_fabrice_info_view.png; path = "UI Resources/Datas/icon/road_fabrice_info_view.png"; sourceTree = "<group>"; };
132131
0FA3D1DC10302ED80098760F /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; };
133132
0FB4B0FB10074B20005292C4 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = System/Library/Frameworks/MapKit.framework; sourceTree = SDKROOT; };
@@ -173,7 +172,6 @@
173172
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
174173
280E754A0DD40C5E005A515E /* VSOSettingsView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = VSOSettingsView.xib; sourceTree = "<group>"; };
175174
280E754B0DD40C5E005A515E /* MainView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainView.xib; sourceTree = "<group>"; };
176-
280E754C0DD40C5E005A515E /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = "<group>"; };
177175
288765580DF743DE002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
178176
289233A20DB2D0840083E9F9 /* VSOSettingsView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VSOSettingsView.h; path = Classes/VSOSettingsView.h; sourceTree = "<group>"; };
179177
289233A30DB2D0840083E9F9 /* VSOSettingsView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = VSOSettingsView.m; path = Classes/VSOSettingsView.m; sourceTree = "<group>"; };
@@ -186,6 +184,8 @@
186184
29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
187185
32CA4F630368D1EE00C91783 /* GPS_Stone_Trip_Recorder.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPS_Stone_Trip_Recorder.pch; sourceTree = "<group>"; };
188186
7B482CE01DCA8ADD007B5ABC /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
187+
7B482CE41DCA95F4007B5ABC /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
188+
7B482CE91DCA976E007B5ABC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
189189
8D1107310486CEB800E47090 /* GPS_Stone_Trip_Recorder-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GPS_Stone_Trip_Recorder-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
190190
/* End PBXFileReference section */
191191

@@ -414,9 +414,9 @@
414414
0F65606E100B4FC5004D16D7 /* VSORecordingsListViewCtlr.xib */,
415415
280E754A0DD40C5E005A515E /* VSOSettingsView.xib */,
416416
280E754B0DD40C5E005A515E /* MainView.xib */,
417-
280E754C0DD40C5E005A515E /* MainWindow.xib */,
417+
7B482CE41DCA95F4007B5ABC /* LaunchScreen.storyboard */,
418+
7B482CE81DCA975F007B5ABC /* Main.storyboard */,
418419
8D1107310486CEB800E47090 /* GPS_Stone_Trip_Recorder-Info.plist */,
419-
0F85304B103C56AE008895AD /* Default.png */,
420420
);
421421
name = Resources;
422422
sourceTree = "<group>";
@@ -463,13 +463,19 @@
463463
isa = PBXProject;
464464
attributes = {
465465
LastUpgradeCheck = 0810;
466+
TargetAttributes = {
467+
1D6058900D05DD3D006BFB54 = {
468+
DevelopmentTeam = DVL8GW97S8;
469+
};
470+
};
466471
};
467472
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "GPS Stone Trip Recorder" */;
468473
compatibilityVersion = "Xcode 3.2";
469474
developmentRegion = English;
470475
hasScannedForEncodings = 1;
471476
knownRegions = (
472477
en,
478+
Base,
473479
);
474480
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
475481
projectDirPath = "";
@@ -487,10 +493,10 @@
487493
files = (
488494
280E754D0DD40C5E005A515E /* VSOSettingsView.xib in Resources */,
489495
280E754E0DD40C5E005A515E /* MainView.xib in Resources */,
490-
280E754F0DD40C5E005A515E /* MainWindow.xib in Resources */,
491496
0FB4B20410076704005292C4 /* record_button.png in Resources */,
492497
0FB4B2B81007A0D5005292C4 /* record_button_highlighted.png in Resources */,
493498
0F34802C10089A9700E88124 /* VSOMapViewController.xib in Resources */,
499+
7B482CE61DCA975F007B5ABC /* Main.storyboard in Resources */,
494500
0F3480DD1008A77B00E88124 /* VSOInfoViewCtrl.xib in Resources */,
495501
0F3480FA1008A83B00E88124 /* VSODetailsViewCtrl.xib in Resources */,
496502
0F656070100B4FC5004D16D7 /* VSORecordingsListViewCtlr.xib in Resources */,
@@ -509,7 +515,7 @@
509515
0F852ED4103C2945008895AD /* road.jpg in Resources */,
510516
0F852FFA103C4C9E008895AD /* vso-logo.pdf in Resources */,
511517
0F853027103C555E008895AD /* vso-logo.png in Resources */,
512-
0F85304C103C56AE008895AD /* Default.png in Resources */,
518+
7B482CE51DCA95F4007B5ABC /* LaunchScreen.storyboard in Resources */,
513519
0F87BA4E103D4651007CFAAA /* road_fabrice_info_view.png in Resources */,
514520
);
515521
runOnlyForDeploymentPostprocessing = 0;
@@ -570,6 +576,14 @@
570576
name = Localizable.strings;
571577
sourceTree = "<group>";
572578
};
579+
7B482CE81DCA975F007B5ABC /* Main.storyboard */ = {
580+
isa = PBXVariantGroup;
581+
children = (
582+
7B482CE91DCA976E007B5ABC /* Base */,
583+
);
584+
name = Main.storyboard;
585+
sourceTree = "<group>";
586+
};
573587
/* End PBXVariantGroup section */
574588

575589
/* Begin XCBuildConfiguration section */
@@ -598,6 +612,7 @@
598612
GCC_WARN_UNINITIALIZED_AUTOS = YES;
599613
GCC_WARN_UNUSED_FUNCTION = YES;
600614
GCC_WARN_UNUSED_VARIABLE = YES;
615+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
601616
PREBINDING = NO;
602617
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
603618
SDKROOT = iphoneos;
@@ -609,6 +624,7 @@
609624
buildSettings = {
610625
ALWAYS_SEARCH_USER_PATHS = NO;
611626
COPY_PHASE_STRIP = YES;
627+
DEVELOPMENT_TEAM = DVL8GW97S8;
612628
GCC_PRECOMPILE_PREFIX_HEADER = YES;
613629
GCC_PREFIX_HEADER = GPS_Stone_Trip_Recorder.pch;
614630
INFOPLIST_FILE = "GPS_Stone_Trip_Recorder-Info.plist";
@@ -622,6 +638,7 @@
622638
buildSettings = {
623639
ALWAYS_SEARCH_USER_PATHS = NO;
624640
COPY_PHASE_STRIP = NO;
641+
DEVELOPMENT_TEAM = DVL8GW97S8;
625642
GCC_DYNAMIC_NO_PIC = NO;
626643
GCC_OPTIMIZATION_LEVEL = 0;
627644
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -637,6 +654,7 @@
637654
buildSettings = {
638655
ALWAYS_SEARCH_USER_PATHS = NO;
639656
COPY_PHASE_STRIP = YES;
657+
DEVELOPMENT_TEAM = DVL8GW97S8;
640658
GCC_PRECOMPILE_PREFIX_HEADER = YES;
641659
GCC_PREFIX_HEADER = GPS_Stone_Trip_Recorder.pch;
642660
INFOPLIST_FILE = "GPS_Stone_Trip_Recorder-Info.plist";
@@ -670,6 +688,7 @@
670688
GCC_WARN_UNINITIALIZED_AUTOS = YES;
671689
GCC_WARN_UNUSED_FUNCTION = YES;
672690
GCC_WARN_UNUSED_VARIABLE = YES;
691+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
673692
ONLY_ACTIVE_ARCH = YES;
674693
PREBINDING = NO;
675694
SDKROOT = iphoneos;
@@ -701,6 +720,7 @@
701720
GCC_WARN_UNINITIALIZED_AUTOS = YES;
702721
GCC_WARN_UNUSED_FUNCTION = YES;
703722
GCC_WARN_UNUSED_VARIABLE = YES;
723+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
704724
PREBINDING = NO;
705725
SDKROOT = iphoneos;
706726
};

GPS_Stone_Trip_Recorder-Info.plist

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@
2222
<string>1.0.0</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
25-
<key>NSMainNibFile</key>
26-
<string>MainWindow</string>
25+
<key>UILaunchStoryboardName</key>
26+
<string>LaunchScreen</string>
27+
<key>UIMainStoryboardFile</key>
28+
<string>Main</string>
2729
<key>UIPrerenderedIcon</key>
2830
<false/>
2931
<key>UIStatusBarStyle</key>

LaunchScreen.storyboard

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<dependencies>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
5+
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
6+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
7+
</dependencies>
8+
<scenes>
9+
<!--View Controller-->
10+
<scene sceneID="EHf-IW-A2E">
11+
<objects>
12+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
13+
<layoutGuides>
14+
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
15+
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
16+
</layoutGuides>
17+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
18+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
19+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
20+
<subviews>
21+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="obG-Y5-kRd">
22+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
23+
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
24+
<nil key="highlightedColor"/>
25+
</label>
26+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="GPS Stone Trip Recorder" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
27+
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
28+
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
29+
<nil key="highlightedColor"/>
30+
</label>
31+
</subviews>
32+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
33+
<constraints>
34+
<constraint firstAttribute="centerX" secondItem="obG-Y5-kRd" secondAttribute="centerX" id="5cz-MP-9tL"/>
35+
<constraint firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
36+
<constraint firstItem="obG-Y5-kRd" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" constant="20" symbolic="YES" id="SfN-ll-jLj"/>
37+
<constraint firstAttribute="bottom" secondItem="obG-Y5-kRd" secondAttribute="bottom" constant="20" id="Y44-ml-fuU"/>
38+
<constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
39+
<constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" constant="20" symbolic="YES" id="x7j-FC-K8j"/>
40+
</constraints>
41+
</view>
42+
</viewController>
43+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
44+
</objects>
45+
<point key="canvasLocation" x="53" y="375"/>
46+
</scene>
47+
</scenes>
48+
</document>

0 commit comments

Comments
 (0)