-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from leovido/feat/tca-upgrade
feat: TCA upgrade to latest version
- Loading branch information
Showing
55 changed files
with
2,030 additions
and
1,781 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
MuchBetterDependencies/.swiftpm/xcode/xcshareddata/xcschemes/AppFeature.xcscheme
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
2 changes: 1 addition & 1 deletion
2
MuchBetterDependencies/.swiftpm/xcode/xcshareddata/xcschemes/Common.xcscheme
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
MuchBetterDependencies/.swiftpm/xcode/xcshareddata/xcschemes/SpendFeature.xcscheme
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
MuchBetterDependencies/.swiftpm/xcode/xcshareddata/xcschemes/TransactionFeature.xcscheme
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import ComposableArchitecture | ||
|
||
@DependencyClient | ||
public struct AppClient { | ||
public var login: @Sendable () async throws -> String | ||
|
||
public init(login: @Sendable @escaping () -> String) { | ||
self.login = login | ||
} | ||
} | ||
|
||
extension DependencyValues { | ||
public var appClient: AppClient { | ||
get { self[AppClient.self] } | ||
set { self[AppClient.self] = newValue} | ||
} | ||
} | ||
|
||
extension AppClient: DependencyKey { | ||
static public let previewValue: AppClient = .init { | ||
return "preview" | ||
} | ||
|
||
static public var testValue: AppClient = .init { | ||
return "test" | ||
} | ||
} |
Oops, something went wrong.
8967b70
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leovido hi ,i reached out to you via email, but i'm not sure if you saw my message...
I'm looking for someone with your stack to work on our platform as a freelancer or full time . some projects start soon and others begin in 6 months ,so if you're busy now ,we can discuss it in advance . are you up ? contact me on telegram @shalavaleks or via email at [email protected]