mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Remove all @available(iOS 14... annotations
This commit is contained in:
-4
@@ -15,7 +15,6 @@
|
||||
//
|
||||
import Foundation
|
||||
|
||||
@available(iOS 14.0, *)
|
||||
@objc protocol NotificationSettingsCoordinatorBridgePresenterDelegate {
|
||||
func notificationSettingsCoordinatorBridgePresenterDelegateDidComplete(_ coordinatorBridgePresenter: NotificationSettingsCoordinatorBridgePresenter)
|
||||
}
|
||||
@@ -24,7 +23,6 @@ import Foundation
|
||||
/// This bridge is used while waiting for global usage of coordinator pattern.
|
||||
/// It breaks the Coordinator abstraction and it has been introduced for Objective-C compatibility (mainly for integration in legacy view controllers).
|
||||
/// Each bridge should be removed once the underlying Coordinator has been integrated by another Coordinator.
|
||||
@available(iOS 14.0, *)
|
||||
@objcMembers
|
||||
final class NotificationSettingsCoordinatorBridgePresenter: NSObject {
|
||||
|
||||
@@ -82,7 +80,6 @@ final class NotificationSettingsCoordinatorBridgePresenter: NSObject {
|
||||
}
|
||||
|
||||
// MARK: - NotificationSettingsCoordinatorDelegate
|
||||
@available(iOS 14.0, *)
|
||||
extension NotificationSettingsCoordinatorBridgePresenter: NotificationSettingsCoordinatorDelegate {
|
||||
func notificationSettingsCoordinatorDidComplete(_ coordinator: NotificationSettingsCoordinatorType) {
|
||||
self.delegate?.notificationSettingsCoordinatorBridgePresenterDelegateDidComplete(self)
|
||||
@@ -91,7 +88,6 @@ extension NotificationSettingsCoordinatorBridgePresenter: NotificationSettingsCo
|
||||
|
||||
// MARK: - UIAdaptivePresentationControllerDelegate
|
||||
|
||||
@available(iOS 14.0, *)
|
||||
extension NotificationSettingsCoordinatorBridgePresenter: UIAdaptivePresentationControllerDelegate {
|
||||
|
||||
func notificationSettingsCoordinatorDidComplete(_ presentationController: UIPresentationController) {
|
||||
|
||||
-2
@@ -17,7 +17,6 @@
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
@available(iOS 14.0, *)
|
||||
final class NotificationSettingsCoordinator: NotificationSettingsCoordinatorType {
|
||||
|
||||
// MARK: - Properties
|
||||
@@ -66,7 +65,6 @@ final class NotificationSettingsCoordinator: NotificationSettingsCoordinatorType
|
||||
}
|
||||
|
||||
// MARK: - NotificationSettingsViewModelCoordinatorDelegate
|
||||
@available(iOS 14.0, *)
|
||||
extension NotificationSettingsCoordinator: NotificationSettingsViewModelCoordinatorDelegate {
|
||||
func notificationSettingsViewModelDidComplete(_ viewModel: NotificationSettingsViewModelType) {
|
||||
self.delegate?.notificationSettingsCoordinatorDidComplete(self)
|
||||
|
||||
Reference in New Issue
Block a user