Skip to content

Commit

Permalink
refactor: DemoApp
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuzukihashi committed Aug 15, 2024
1 parent ad5914f commit 411c9be
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 67 deletions.
16 changes: 6 additions & 10 deletions DemoApp/DemoApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
DA1A6B6E240B81A4001EA5EB /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA1A6B6D240B81A4001EA5EB /* AppDelegate.swift */; };
DA1A6B70240B81A4001EA5EB /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA1A6B6F240B81A4001EA5EB /* SceneDelegate.swift */; };
DA1A6B6E240B81A4001EA5EB /* DemoApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA1A6B6D240B81A4001EA5EB /* DemoApp.swift */; };
DA1A6B72240B81A4001EA5EB /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA1A6B71240B81A4001EA5EB /* ContentView.swift */; };
DA1A6B74240B81A6001EA5EB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DA1A6B73240B81A6001EA5EB /* Assets.xcassets */; };
DA1A6B77240B81A6001EA5EB /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DA1A6B76240B81A6001EA5EB /* Preview Assets.xcassets */; };
Expand Down Expand Up @@ -39,8 +38,7 @@

/* Begin PBXFileReference section */
DA1A6B6A240B81A4001EA5EB /* DemoApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DemoApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
DA1A6B6D240B81A4001EA5EB /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
DA1A6B6F240B81A4001EA5EB /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
DA1A6B6D240B81A4001EA5EB /* DemoApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoApp.swift; sourceTree = "<group>"; };
DA1A6B71240B81A4001EA5EB /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
DA1A6B73240B81A6001EA5EB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
DA1A6B76240B81A6001EA5EB /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -87,8 +85,7 @@
DA1A6B6C240B81A4001EA5EB /* DemoApp */ = {
isa = PBXGroup;
children = (
DA1A6B6D240B81A4001EA5EB /* AppDelegate.swift */,
DA1A6B6F240B81A4001EA5EB /* SceneDelegate.swift */,
DA1A6B6D240B81A4001EA5EB /* DemoApp.swift */,
DA1A6B71240B81A4001EA5EB /* ContentView.swift */,
DA5D60CB2422727E0021B0B7 /* BaseView.swift */,
DA5D60CD242276650021B0B7 /* Views */,
Expand Down Expand Up @@ -202,8 +199,7 @@
files = (
DA5AFAD32418367C0098E0BB /* SimpleView.swift in Sources */,
DA5D60D1242277C50021B0B7 /* NeumorphismButtonView.swift in Sources */,
DA1A6B6E240B81A4001EA5EB /* AppDelegate.swift in Sources */,
DA1A6B70240B81A4001EA5EB /* SceneDelegate.swift in Sources */,
DA1A6B6E240B81A4001EA5EB /* DemoApp.swift in Sources */,
DA5D60D324239E090021B0B7 /* BindingButtonView.swift in Sources */,
DA5D60CF2422767E0021B0B7 /* Concave.swift in Sources */,
DA1A6B72240B81A4001EA5EB /* ContentView.swift in Sources */,
Expand Down Expand Up @@ -349,7 +345,7 @@
DEVELOPMENT_TEAM = A93B2TPWBT;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = DemoApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -370,7 +366,7 @@
DEVELOPMENT_TEAM = A93B2TPWBT;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = DemoApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
16 changes: 0 additions & 16 deletions DemoApp/DemoApp/AppDelegate.swift

This file was deleted.

17 changes: 17 additions & 0 deletions DemoApp/DemoApp/DemoApp.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import SwiftUI
import NeumorphismUI

@main
struct DemoApp: App {
let neumorphism = NeumorphismManager(
lightColor: Color(hex: "C1D2EB"),
darkColor: Color(hex: "2C292C")
)

var body: some Scene {
WindowGroup {
ContentView()
.environmentObject(neumorphism)
}
}
}
41 changes: 0 additions & 41 deletions DemoApp/DemoApp/SceneDelegate.swift

This file was deleted.

0 comments on commit 411c9be

Please sign in to comment.