-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
98 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
HMH_Tuist_iOS/Projects/Features/ChallengeFeature/Sources/Model/PointStatusAsset.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// | ||
// PointStatusAsset.swift | ||
// ChallengeFeature | ||
// | ||
// Created by 류희재 on 11/28/24. | ||
// Copyright © 2024 HMH-iOS. All rights reserved. | ||
// | ||
|
||
import SwiftUI | ||
import DSKit | ||
import Domain | ||
|
||
extension PointStatusEnum { | ||
public var buttonColor: Color { | ||
switch self { | ||
case .unearned: | ||
return DSKitAsset.bluePurpleButton.swiftUIColor | ||
case .earned: | ||
return DSKitAsset.bluePurpleOpacity22.swiftUIColor | ||
case .failure: | ||
return DSKitAsset.gray6.swiftUIColor | ||
case .none: | ||
return DSKitAsset.gray7.swiftUIColor | ||
} | ||
} | ||
|
||
public var titleColor: Color { | ||
switch self { | ||
case .unearned: | ||
return DSKitAsset.whiteBtn.swiftUIColor | ||
case .earned: | ||
return DSKitAsset.bluePurpleOpacity70.swiftUIColor | ||
case .failure: | ||
return DSKitAsset.gray2.swiftUIColor | ||
case .none: | ||
return DSKitAsset.gray3.swiftUIColor | ||
} | ||
} | ||
} |
90 changes: 3 additions & 87 deletions
90
...ts/Features/MyPageFeature/Demo/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+828 KB
...es/MyPageFeature/Demo/Resources/Assets.xcassets/AppIcon.appiconset/app_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
31 changes: 31 additions & 0 deletions
31
HMH_Tuist_iOS/Projects/Features/MyPageFeature/Demo/Sources/MyPageDemoApp.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// | ||
// MyPageDemoApp.swift | ||
// MyPageFeature | ||
// | ||
// Created by 류희재 on 11/28/24. | ||
// Copyright © 2024 HMH-iOS. All rights reserved. | ||
// | ||
|
||
import SwiftUI | ||
|
||
import Domain | ||
import Data | ||
import Networks | ||
import MyPageFeature | ||
|
||
@main | ||
struct MyPageDemoApp: App { | ||
var body: some Scene { | ||
WindowGroup { | ||
MyPageView( | ||
viewModel: MyPageViewModel( | ||
useCase: MyPageUseCase( | ||
userRepository: UserRepository( | ||
service: UserService() | ||
) | ||
) | ||
) | ||
) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
..._iOS/Projects/Modules/Networks/Demo/Resources/Assets.xcassets/Auth.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
..._iOS/Projects/Modules/Networks/Demo/Resources/Assets.xcassets/main.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+7.96 KB
...ojects/Modules/Networks/Demo/Resources/Assets.xcassets/main.imageset/앱아이콘 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.96 KB
...ojects/Modules/Networks/Demo/Resources/Assets.xcassets/main.imageset/앱아이콘 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.