element-ios/Tools/Templates/buildable/FlowCoordinatorTemplate/FlowTemplateCoordinatorProt...

21 lines
769 B
Swift

/*
Copyright 2021-2024 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only
Please see LICENSE in the repository root for full details.
*/
import Foundation
protocol FlowTemplateCoordinatorDelegate: AnyObject {
func flowTemplateCoordinatorDidComplete(_ coordinator: FlowTemplateCoordinatorProtocol)
/// Called when the view has been dismissed by gesture when presented modally (not in full screen).
func flowTemplateCoordinatorDidDismissInteractively(_ coordinator: FlowTemplateCoordinatorProtocol)
}
/// `FlowTemplateCoordinatorProtocol` is a protocol describing a Coordinator that handle xxxxxxx navigation flow.
protocol FlowTemplateCoordinatorProtocol: Coordinator, Presentable {
var delegate: FlowTemplateCoordinatorDelegate? { get }
}