mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
Productivity: Tweak templates a bit more
This commit is contained in:
@@ -68,11 +68,11 @@ final class FlowTemplateCoordinator: FlowTemplateCoordinatorType {
|
||||
|
||||
// MARK: - TemplateScreenCoordinatorDelegate
|
||||
extension FlowTemplateCoordinator: TemplateScreenCoordinatorDelegate {
|
||||
func templateScreenCoordinator(_ templateScreenCoordinator: TemplateScreenCoordinatorType, didCompleteWithMessage message: String) {
|
||||
func templateScreenCoordinator(_ coordinator: TemplateScreenCoordinatorType, didCompleteWithMessage message: String) {
|
||||
self.delegate?.flowTemplateCoordinatorDidComplete(self)
|
||||
}
|
||||
|
||||
func templateScreenCoordinatorDidCancel(_ templateScreenCoordinator: TemplateScreenCoordinatorType) {
|
||||
func templateScreenCoordinatorDidCancel(_ coordinator: TemplateScreenCoordinatorType) {
|
||||
self.delegate?.flowTemplateCoordinatorDidComplete(self)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import Foundation
|
||||
|
||||
@objc protocol FlowTemplateCoordinatorBridgePresenterDelegate {
|
||||
func flowTemplateCoordinatorBridgePresenterDelegateDidComplete(_ flowTemplateCoordinatorBridgePresenter: FlowTemplateCoordinatorBridgePresenter)
|
||||
func flowTemplateCoordinatorBridgePresenterDelegateDidComplete(_ coordinatorBridgePresenter: FlowTemplateCoordinatorBridgePresenter)
|
||||
}
|
||||
|
||||
/// FlowTemplateCoordinatorBridgePresenter enables to start FlowTemplateCoordinator from a view controller.
|
||||
@@ -71,7 +71,7 @@ final class FlowTemplateCoordinatorBridgePresenter: NSObject {
|
||||
|
||||
// MARK: - FlowTemplateCoordinatorDelegate
|
||||
extension FlowTemplateCoordinatorBridgePresenter: FlowTemplateCoordinatorDelegate {
|
||||
func flowTemplateCoordinatorDidComplete(_ flowTemplateCoordinator: FlowTemplateCoordinatorType) {
|
||||
func flowTemplateCoordinatorDidComplete(_ coordinator: FlowTemplateCoordinatorType) {
|
||||
self.delegate?.flowTemplateCoordinatorBridgePresenterDelegateDidComplete(self)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,8 @@ final class TemplateScreenCoordinator: TemplateScreenCoordinatorType {
|
||||
private let templateScreenViewController: TemplateScreenViewController
|
||||
|
||||
// MARK: Public
|
||||
|
||||
|
||||
// Must be used only internally
|
||||
var childCoordinators: [Coordinator] = []
|
||||
|
||||
weak var delegate: TemplateScreenCoordinatorDelegate?
|
||||
|
||||
Reference in New Issue
Block a user