From cc45660f7de91de9bc1d474d7a1d37116284cd2f Mon Sep 17 00:00:00 2001 From: Mustafa Ozhan Date: Fri, 10 Nov 2023 18:44:48 +0100 Subject: [PATCH] [Oztechan/TraceFit#40] Fix SwiftLint issues --- iosApp/iosApp.xcodeproj/project.pbxproj | 8 ++++---- iosApp/iosApp/{App.swift => Application.swift} | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename iosApp/iosApp/{App.swift => Application.swift} (77%) diff --git a/iosApp/iosApp.xcodeproj/project.pbxproj b/iosApp/iosApp.xcodeproj/project.pbxproj index 76e9937..e34cef9 100644 --- a/iosApp/iosApp.xcodeproj/project.pbxproj +++ b/iosApp/iosApp.xcodeproj/project.pbxproj @@ -9,14 +9,14 @@ /* Begin PBXBuildFile section */ 058557BB273AAA24004C7B11 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 058557BA273AAA24004C7B11 /* Assets.xcassets */; }; 058557D9273AAEEB004C7B11 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 058557D8273AAEEB004C7B11 /* Preview Assets.xcassets */; }; - 2152FB042600AC8F00CF470E /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2152FB032600AC8F00CF470E /* App.swift */; }; + 2152FB042600AC8F00CF470E /* Application.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2152FB032600AC8F00CF470E /* Application.swift */; }; 7555FF83242A565900829871 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7555FF82242A565900829871 /* ContentView.swift */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ 058557BA273AAA24004C7B11 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 058557D8273AAEEB004C7B11 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; - 2152FB032600AC8F00CF470E /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = ""; }; + 2152FB032600AC8F00CF470E /* Application.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Application.swift; sourceTree = ""; }; 7555FF7B242A565900829871 /* .app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; name = .app; path = TraceFit.app; sourceTree = BUILT_PRODUCTS_DIR; }; 7555FF82242A565900829871 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; 7555FF8C242A565B00829871 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -63,7 +63,7 @@ 058557BA273AAA24004C7B11 /* Assets.xcassets */, 7555FF82242A565900829871 /* ContentView.swift */, 7555FF8C242A565B00829871 /* Info.plist */, - 2152FB032600AC8F00CF470E /* App.swift */, + 2152FB032600AC8F00CF470E /* Application.swift */, 058557D7273AAEEB004C7B11 /* Preview Content */, ); path = iosApp; @@ -168,7 +168,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2152FB042600AC8F00CF470E /* App.swift in Sources */, + 2152FB042600AC8F00CF470E /* Application.swift in Sources */, 7555FF83242A565900829871 /* ContentView.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/iosApp/iosApp/App.swift b/iosApp/iosApp/Application.swift similarity index 77% rename from iosApp/iosApp/App.swift rename to iosApp/iosApp/Application.swift index 53ac0c4..48a6cc2 100644 --- a/iosApp/iosApp/App.swift +++ b/iosApp/iosApp/Application.swift @@ -1,7 +1,7 @@ import SwiftUI @main -struct App: App { +struct Application: App { var body: some Scene { WindowGroup { ContentView()