diff --git a/Weather-App.xcodeproj/project.pbxproj b/Weather-App.xcodeproj/project.pbxproj index ea2cb72..855466e 100644 --- a/Weather-App.xcodeproj/project.pbxproj +++ b/Weather-App.xcodeproj/project.pbxproj @@ -8,7 +8,7 @@ /* Begin PBXBuildFile section */ 1D6A15B520FC77690030560F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D6A15B420FC77690030560F /* AppDelegate.swift */; }; - 1D6A15B720FC77690030560F /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D6A15B620FC77690030560F /* ViewController.swift */; }; + 1D6A15B720FC77690030560F /* WeatherViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D6A15B620FC77690030560F /* WeatherViewController.swift */; }; 1D6A15BA20FC77690030560F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1D6A15B820FC77690030560F /* Main.storyboard */; }; 1D6A15BC20FC776A0030560F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1D6A15BB20FC776A0030560F /* Assets.xcassets */; }; 1D6A15BF20FC776A0030560F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1D6A15BD20FC776A0030560F /* LaunchScreen.storyboard */; }; @@ -17,7 +17,7 @@ /* Begin PBXFileReference section */ 1D6A15B120FC77690030560F /* Weather-App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Weather-App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 1D6A15B420FC77690030560F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 1D6A15B620FC77690030560F /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 1D6A15B620FC77690030560F /* WeatherViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WeatherViewController.swift; sourceTree = ""; }; 1D6A15B920FC77690030560F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 1D6A15BB20FC776A0030560F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 1D6A15BE20FC776A0030560F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; @@ -54,9 +54,9 @@ 1D6A15B320FC77690030560F /* Weather-App */ = { isa = PBXGroup; children = ( - 1D6A15B420FC77690030560F /* AppDelegate.swift */, - 1D6A15B620FC77690030560F /* ViewController.swift */, - 1D6A15B820FC77690030560F /* Main.storyboard */, + 1D6A15C820FC79150030560F /* Controller */, + 1D6A15C720FC78EE0030560F /* Model */, + 1D6A15C620FC78B00030560F /* View */, 1D6A15BB20FC776A0030560F /* Assets.xcassets */, 1D6A15BD20FC776A0030560F /* LaunchScreen.storyboard */, 1D6A15C020FC776A0030560F /* Info.plist */, @@ -64,6 +64,30 @@ path = "Weather-App"; sourceTree = ""; }; + 1D6A15C620FC78B00030560F /* View */ = { + isa = PBXGroup; + children = ( + 1D6A15B820FC77690030560F /* Main.storyboard */, + ); + path = View; + sourceTree = ""; + }; + 1D6A15C720FC78EE0030560F /* Model */ = { + isa = PBXGroup; + children = ( + ); + path = Model; + sourceTree = ""; + }; + 1D6A15C820FC79150030560F /* Controller */ = { + isa = PBXGroup; + children = ( + 1D6A15B620FC77690030560F /* WeatherViewController.swift */, + 1D6A15B420FC77690030560F /* AppDelegate.swift */, + ); + path = Controller; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -135,7 +159,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 1D6A15B720FC77690030560F /* ViewController.swift in Sources */, + 1D6A15B720FC77690030560F /* WeatherViewController.swift in Sources */, 1D6A15B520FC77690030560F /* AppDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/Weather-App/AppDelegate.swift b/Weather-App/Controller/AppDelegate.swift similarity index 100% rename from Weather-App/AppDelegate.swift rename to Weather-App/Controller/AppDelegate.swift diff --git a/Weather-App/ViewController.swift b/Weather-App/Controller/WeatherViewController.swift similarity index 85% rename from Weather-App/ViewController.swift rename to Weather-App/Controller/WeatherViewController.swift index 6729e97..5e10ecc 100644 --- a/Weather-App/ViewController.swift +++ b/Weather-App/Controller/WeatherViewController.swift @@ -1,5 +1,5 @@ // -// ViewController.swift +// WeatherViewController.swift // Weather-App // // Created by Vikas R S on 7/15/18. @@ -8,7 +8,7 @@ import UIKit -class ViewController: UIViewController { +class WeatherViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() diff --git a/Weather-App/Base.lproj/Main.storyboard b/Weather-App/View/Base.lproj/Main.storyboard similarity index 100% rename from Weather-App/Base.lproj/Main.storyboard rename to Weather-App/View/Base.lproj/Main.storyboard