Skip to content

Commit

Permalink
[#2] Delete: Dynamic island 폴더 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
psychehose committed Jun 10, 2023
1 parent 6b753fd commit ed082be
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 396 deletions.
131 changes: 0 additions & 131 deletions RunningRPG.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@
remoteGlobalIDString = 2A9A069A2A3414B500EC8141;
remoteInfo = RunningRPG;
};
393DF4852A34331B0033F78B /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 2A9A06932A3414B500EC8141 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 393DF4752A3433190033F78B;
remoteInfo = RunningRPGDynamicIslandExtension;
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
Expand All @@ -59,7 +52,6 @@
dstPath = "";
dstSubfolderSpec = 13;
files = (
393DF4872A34331B0033F78B /* RunningRPGDynamicIslandExtension.appex in Embed Foundation Extensions */,
);
name = "Embed Foundation Extensions";
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -113,15 +105,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
393DF4732A3433190033F78B /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
393DF4782A3433190033F78B /* SwiftUI.framework in Frameworks */,
393DF4772A3433190033F78B /* WidgetKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -131,8 +114,6 @@
2A9A069D2A3414B500EC8141 /* RunningRPG */,
2A9A06B02A3414B700EC8141 /* RunningRPGTests */,
2A9A06BA2A3414B700EC8141 /* RunningRPGUITests */,
393DF4792A3433190033F78B /* RunningRPGDynamicIsland */,
393DF4412A3432410033F78B /* Frameworks */,
2A9A069C2A3414B500EC8141 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -143,7 +124,6 @@
2A9A069B2A3414B500EC8141 /* RunningRPG.app */,
2A9A06AD2A3414B700EC8141 /* RunningRPGTests.xctest */,
2A9A06B72A3414B700EC8141 /* RunningRPGUITests.xctest */,
393DF4762A3433190033F78B /* RunningRPGDynamicIslandExtension.appex */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -156,7 +136,6 @@
2A9A06D32A342BB900EC8141 /* Tabbar */,
2A9A06A22A3414B700EC8141 /* Assets.xcassets */,
2A9A06A72A3414B700EC8141 /* Item.swift */,
3961A99F2A343C71000745FC /* DynamicIslandView */,
2A9A06A42A3414B700EC8141 /* Preview Content */,
);
path = RunningRPG;
Expand Down Expand Up @@ -276,7 +255,6 @@
buildRules = (
);
dependencies = (
393DF4862A34331B0033F78B /* PBXTargetDependency */,
);
name = RunningRPG;
productName = RunningRPG;
Expand Down Expand Up @@ -319,23 +297,6 @@
productReference = 2A9A06B72A3414B700EC8141 /* RunningRPGUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
393DF4752A3433190033F78B /* RunningRPGDynamicIslandExtension */ = {
isa = PBXNativeTarget;
buildConfigurationList = 393DF4882A34331B0033F78B /* Build configuration list for PBXNativeTarget "RunningRPGDynamicIslandExtension" */;
buildPhases = (
393DF4722A3433190033F78B /* Sources */,
393DF4732A3433190033F78B /* Frameworks */,
393DF4742A3433190033F78B /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = RunningRPGDynamicIslandExtension;
productName = RunningRPGDynamicIslandExtension;
productReference = 393DF4762A3433190033F78B /* RunningRPGDynamicIslandExtension.appex */;
productType = "com.apple.product-type.app-extension";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -357,9 +318,6 @@
CreatedOnToolsVersion = 15.0;
TestTargetID = 2A9A069A2A3414B500EC8141;
};
393DF4752A3433190033F78B = {
CreatedOnToolsVersion = 15.0;
};
};
};
buildConfigurationList = 2A9A06962A3414B500EC8141 /* Build configuration list for PBXProject "RunningRPG" */;
Expand All @@ -378,7 +336,6 @@
2A9A069A2A3414B500EC8141 /* RunningRPG */,
2A9A06AC2A3414B700EC8141 /* RunningRPGTests */,
2A9A06B62A3414B700EC8141 /* RunningRPGUITests */,
393DF4752A3433190033F78B /* RunningRPGDynamicIslandExtension */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -407,14 +364,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
393DF4742A3433190033F78B /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
393DF4832A34331B0033F78B /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -435,9 +384,7 @@
770A00352A34402400160BD6 /* MonsterInformationView.swift in Sources */,
770A002D2A34240200160BD6 /* Monster.swift in Sources */,
770A002B2A34236700160BD6 /* Equiment.swift in Sources */,
3961A9A12A343C9F000745FC /* Avatar.swift in Sources */,
2A9A06CF2A3426B800EC8141 /* MonsterListView.swift in Sources */,
3961A99E2A3433D8000745FC /* RunningRPGDynamicIslandLiveActivity.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -458,18 +405,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
393DF4722A3433190033F78B /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
393DF47B2A3433190033F78B /* RunningRPGDynamicIslandBundle.swift in Sources */,
393DF4812A3433190033F78B /* AppIntent.swift in Sources */,
393DF47D2A3433190033F78B /* RunningRPGDynamicIslandLiveActivity.swift in Sources */,
3961A9A22A343C9F000745FC /* Avatar.swift in Sources */,
393DF47F2A3433190033F78B /* RunningRPGDynamicIsland.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand All @@ -483,11 +418,6 @@
target = 2A9A069A2A3414B500EC8141 /* RunningRPG */;
targetProxy = 2A9A06B82A3414B700EC8141 /* PBXContainerItemProxy */;
};
393DF4862A34331B0033F78B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 393DF4752A3433190033F78B /* RunningRPGDynamicIslandExtension */;
targetProxy = 393DF4852A34331B0033F78B /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
Expand Down Expand Up @@ -746,58 +676,6 @@
};
name = Release;
};
393DF4892A34331B0033F78B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = RunningRPGDynamicIsland/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = RunningRPGDynamicIsland;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.letusgo.RunningRPG.RunningRPGDynamicIsland;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
393DF48A2A34331B0033F78B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = RunningRPGDynamicIsland/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = RunningRPGDynamicIsland;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.letusgo.RunningRPG.RunningRPGDynamicIsland;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -837,15 +715,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
393DF4882A34331B0033F78B /* Build configuration list for PBXNativeTarget "RunningRPGDynamicIslandExtension" */ = {
isa = XCConfigurationList;
buildConfigurations = (
393DF4892A34331B0033F78B /* Debug */,
393DF48A2A34331B0033F78B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 2A9A06932A3414B500EC8141 /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "393DF4752A3433190033F78B"
BuildableName = "RunningRPGDynamicIslandExtension.appex"
BuildableName = "RunningRPGDynamicIslandExtension"
BlueprintName = "RunningRPGDynamicIslandExtension"
ReferencedContainer = "container:RunningRPG.xcodeproj">
</BuildableReference>
Expand Down
35 changes: 21 additions & 14 deletions RunningRPG/Tabbar/Shop/ShopView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,34 @@

import SwiftUI
import SwiftData
import ActivityKit

struct ShopView: View {
@Environment(\.modelContext) private var modelContext
@Query private var items: [Item]

var body: some View {
NavigationView {
Button("Test") {
let dynamicIslandWidgetAttribute = RunningRPGDynamicIslandAttributes(name: "Test")
let contentState = RunningRPGDynamicIslandAttributes.ContentState(emoji: "hi")

do {
let activity = try Activity<RunningRPGDynamicIslandAttributes>.request(attributes: dynamicIslandWidgetAttribute, contentState: contentState)
print(activity)
} catch {
print("error")
List {
ForEach(items) { item in
NavigationLink {
Text("Item at \(item.timestamp, format: Date.FormatStyle(date: .numeric, time: .standard))")
} label: {
Text(item.timestamp, format: Date.FormatStyle(date: .numeric, time: .standard))
}
}
.onDelete(perform: deleteItems)
}
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
EditButton()
}


}.frame(width: 50, height: 50)
ToolbarItem {
Button(action: addItem) {
Label("Add Item", systemImage: "plus")
}
}
}
Text("Select an item")
}
}

Expand Down
18 changes: 0 additions & 18 deletions RunningRPGDynamicIsland/AppIntent.swift

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions RunningRPGDynamicIsland/Assets.xcassets/Contents.json

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions RunningRPGDynamicIsland/Info.plist

This file was deleted.

Loading

0 comments on commit ed082be

Please sign in to comment.