-
Notifications
You must be signed in to change notification settings - Fork 0
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
12 changed files
with
111 additions
and
15 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
Binary file modified
BIN
+5.3 KB
(100%)
iosApp/iosApp.xcworkspace/xcuserdata/velkonost.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
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
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
iosApp/iosApp/Features/Subscription/SubscriptionRoute.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 @@ | ||
// | ||
// SubscriptionRoute.swift | ||
// iosApp | ||
// | ||
// Created by velkonost on 10.02.2024. | ||
// Copyright © 2024 orgName. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import SharedSDK | ||
import SwiftUI | ||
|
||
struct SubscriptionRoute: NavRoute { | ||
typealias T = SubscriptionViewModel | ||
|
||
var route: String { | ||
return NavigationScreen.SubscriptionNavScreen.shared.route | ||
} | ||
|
||
var menuIcon: UIImage? { | ||
return nil | ||
} | ||
|
||
var content: some View { | ||
return SubscriptionScreen(viewModel: viewModel) | ||
} | ||
|
||
var viewModel: SubscriptionViewModel { | ||
@LazyKoin var delegate: SubscriptionViewModel | ||
return delegate | ||
} | ||
|
||
func getArguments() -> Array<String> { | ||
return [] | ||
} | ||
|
||
} | ||
|
||
|
22 changes: 22 additions & 0 deletions
22
iosApp/iosApp/Features/Subscription/SubscriptionScreen.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,22 @@ | ||
// | ||
// SubscriptionScreen.swift | ||
// iosApp | ||
// | ||
// Created by velkonost on 10.02.2024. | ||
// Copyright © 2024 orgName. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import SwiftUI | ||
import SharedSDK | ||
import KMMViewModelSwiftUI | ||
import KMPNativeCoroutinesAsync | ||
|
||
struct SubscriptionScreen: View { | ||
|
||
@StateViewModel var viewModel: SubscriptionViewModel | ||
|
||
var body: some View { | ||
@State var state = viewModel.viewStateValue as! SubscriptionViewState | ||
} | ||
} |