diff --git a/README.md b/README.md index e7040e4..cb28bf0 100644 --- a/README.md +++ b/README.md @@ -201,18 +201,20 @@ class AppDelegate: NSObject, UIApplicationDelegate { ) -> Bool { mainCoodinator = HomeCoordinator() + // Simulate the receipt of a notification or external trigger to present some coordinator DispatchQueue.main.asyncAfter(deadline: .now() + 10) { Task { [weak self] in // Create and present the CustomTabbarCoordinator in a sheet presentation style let coordinator = CustomTabbarCoordinator() try? await coordinator.forcePresentation( - presentationStyle: .fullScreenCover, - mainCoordinator: self?.shee + presentationStyle: .sheet, + mainCoordinator: self ) } } + return true } } @@ -478,8 +480,12 @@ It works the same as Coordinator but has the following additional features: customView - - Is a closure that receives a View as parameter + + + + Is a closure that receives a view as parameter, to create a custom tab bar