Created
June 22, 2024 11:19
-
-
Save swift2geek/a59159599687b5a28afed1e21ef23d29 to your computer and use it in GitHub Desktop.
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
// | |
// YourActivityPageRouter.swift | |
// nutritionApp | |
// | |
// | |
// | |
import Foundation | |
final class YourActivityPageRouter: YourActivityPageRouterProtocol { | |
private var navigation: any NavigationServiceType | |
init(navigation: any NavigationServiceType){ | |
self.navigation = navigation | |
} | |
func openFeed() { | |
navigation.isOnboardingCompleted = true | |
navigation.items.removeAll() | |
navigation.items.append(.feed) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment