Remove storyboard and create UI from code

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander
2018-08-11 13:19:21 +05:30
parent b6f4806fd6
commit 700c7221a9
6 changed files with 28 additions and 94 deletions
+4 -16
View File
@@ -8,21 +8,19 @@
/* Begin PBXBuildFile section */
6FF4AC18211EC46F002C96EB /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FF4AC17211EC46F002C96EB /* AppDelegate.swift */; };
6FF4AC1A211EC46F002C96EB /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FF4AC19211EC46F002C96EB /* ViewController.swift */; };
6FF4AC1D211EC46F002C96EB /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6FF4AC1B211EC46F002C96EB /* Main.storyboard */; };
6FF4AC1F211EC472002C96EB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6FF4AC1E211EC472002C96EB /* Assets.xcassets */; };
6FF4AC22211EC472002C96EB /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6FF4AC20211EC472002C96EB /* LaunchScreen.storyboard */; };
6FF4AC2F211F1F57002C96EB /* MainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FF4AC2E211F1F57002C96EB /* MainViewController.swift */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
6FF4AC14211EC46F002C96EB /* WireGuard.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WireGuard.app; sourceTree = BUILT_PRODUCTS_DIR; };
6FF4AC17211EC46F002C96EB /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
6FF4AC19211EC46F002C96EB /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
6FF4AC1C211EC46F002C96EB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
6FF4AC1E211EC472002C96EB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
6FF4AC21211EC472002C96EB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
6FF4AC23211EC472002C96EB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
6FF4AC2B211EC776002C96EB /* Developer.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Developer.xcconfig; path = Config/Developer.xcconfig; sourceTree = "<group>"; };
6FF4AC2E211F1F57002C96EB /* MainViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainViewController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -56,8 +54,7 @@
isa = PBXGroup;
children = (
6FF4AC17211EC46F002C96EB /* AppDelegate.swift */,
6FF4AC19211EC46F002C96EB /* ViewController.swift */,
6FF4AC1B211EC46F002C96EB /* Main.storyboard */,
6FF4AC2E211F1F57002C96EB /* MainViewController.swift */,
6FF4AC1E211EC472002C96EB /* Assets.xcassets */,
6FF4AC20211EC472002C96EB /* LaunchScreen.storyboard */,
6FF4AC23211EC472002C96EB /* Info.plist */,
@@ -126,7 +123,6 @@
files = (
6FF4AC22211EC472002C96EB /* LaunchScreen.storyboard in Resources */,
6FF4AC1F211EC472002C96EB /* Assets.xcassets in Resources */,
6FF4AC1D211EC46F002C96EB /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -137,22 +133,14 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
6FF4AC1A211EC46F002C96EB /* ViewController.swift in Sources */,
6FF4AC18211EC46F002C96EB /* AppDelegate.swift in Sources */,
6FF4AC2F211F1F57002C96EB /* MainViewController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
6FF4AC1B211EC46F002C96EB /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
6FF4AC1C211EC46F002C96EB /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
6FF4AC20211EC472002C96EB /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (