mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
f9409804b1
# Conflicts: # Config/AppVersion.xcconfig # Config/BuildSettings.swift # DesignKit/Source/ColorsSwiftUI.swift # DesignKit/Source/FontsSwiftUI.swift # DesignKit/Source/ThemeV2.swift # DesignKit/Variants/Colors/Dark/DarkColors.swift # DesignKit/Variants/Colors/Light/LightColors.swift # Podfile.lock # Riot/Assets/de.lproj/InfoPlist.strings # Riot/Assets/de.lproj/Vector.strings # Riot/Assets/en.lproj/Vector.strings # Riot/Generated/Images.swift # Riot/Generated/Strings.swift # Riot/Managers/PushNotification/PushNotificationService.m # Riot/Managers/Settings/RiotSettings.swift # Riot/Modules/Common/Recents/DataSources/RecentsDataSource.h # Riot/Modules/Common/Recents/RecentsViewController.m # Riot/Modules/Communities/Home/GroupHomeViewController.m # Riot/Modules/Room/RoomViewController.m # Riot/Modules/SetPinCode/PinCodePreferences.swift # Riot/Modules/Settings/SettingsViewController.m # Riot/Modules/TabBar/MasterTabBarController.h # Riot/Modules/TabBar/MasterTabBarController.m # Riot/Modules/TabBar/TabBarCoordinator.swift # fastlane/Fastfile # project.yml
53 lines
2.1 KiB
Swift
53 lines
2.1 KiB
Swift
// File created from FlowTemplate
|
|
// $ createRootCoordinator.sh TabBar TabBar
|
|
/*
|
|
Copyright 2020 New Vector Ltd
|
|
Copyright (c) 2021 BWI GmbH
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
import Foundation
|
|
|
|
protocol SplitViewMasterCoordinatorDelegate: AnyObject {
|
|
// TODO: Remove this method, authentication should not be handled by SplitViewMasterCoordinator
|
|
func splitViewMasterCoordinatorDidCompleteAuthentication(_ coordinator: SplitViewMasterCoordinatorProtocol)
|
|
}
|
|
|
|
/// `SplitViewMasterCoordinatorProtocol` is a protocol describing a Coordinator that handle the master view controller of the `UISplitViewController`
|
|
protocol SplitViewMasterCoordinatorProtocol: Coordinator, SplitViewMasterPresentable {
|
|
|
|
var delegate: SplitViewMasterCoordinatorDelegate? { get }
|
|
|
|
/// Start coordinator by selecting a Space.
|
|
/// - Parameter spaceId: The id of the Space to use.
|
|
func start(with spaceId: String?)
|
|
|
|
func popToHome(animated: Bool, completion: (() -> Void)?)
|
|
|
|
// TODO: Remove this method, this implementation detail should not be exposed
|
|
// Release the current selected item (room/contact/group...).
|
|
func releaseSelectedItems()
|
|
|
|
func pinUnlocked()
|
|
|
|
/// Displays an error using a `UserIndicator`. The messages is dimissed automatically.
|
|
func showErroIndicator(with error: Error)
|
|
|
|
/// Displays an message related to the application state using a `UserIndicator`. The message must be dimissed by calling the method `hideAppStateIndicator()`
|
|
func showAppStateIndicator(with text: String, icon: UIImage?)
|
|
|
|
/// Hide the message related to the application state currently displayed.
|
|
func hideAppStateIndicator()
|
|
}
|