From bbad2e84377668de4ffdece63bd415be2a0a32b2 Mon Sep 17 00:00:00 2001 From: Scott Pfeil Date: Mon, 18 Oct 2021 13:13:05 -0400 Subject: [PATCH] formatting, remove manager stuff --- MVMCore/MVMCore/MainProtocols/MVMCoreViewManagerProtocol.h | 3 --- .../MVMCore/PresentationHandling/MVMCoreNavigationOperation.m | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/MVMCore/MVMCore/MainProtocols/MVMCoreViewManagerProtocol.h b/MVMCore/MVMCore/MainProtocols/MVMCoreViewManagerProtocol.h index f628227..4407a49 100644 --- a/MVMCore/MVMCore/MainProtocols/MVMCoreViewManagerProtocol.h +++ b/MVMCore/MVMCore/MainProtocols/MVMCoreViewManagerProtocol.h @@ -22,9 +22,6 @@ /// Notifies the manager that the controller received new data. - (void)newDataReceivedInViewController:(nonnull UIViewController *)viewController; -/// Call on a manager when a view controller is being prepared to be displayed. (Mostly called by other managers) -- (void)prepareDisplayForViewController:(nonnull UIViewController *)viewController; - /// Call on a manager when a view controller will be displayed. (Mostly called by other managers) - (void)willDisplayViewController:(nonnull UIViewController *)viewController; diff --git a/MVMCore/MVMCore/PresentationHandling/MVMCoreNavigationOperation.m b/MVMCore/MVMCore/PresentationHandling/MVMCoreNavigationOperation.m index 5865ebf..794975d 100644 --- a/MVMCore/MVMCore/PresentationHandling/MVMCoreNavigationOperation.m +++ b/MVMCore/MVMCore/PresentationHandling/MVMCoreNavigationOperation.m @@ -229,7 +229,8 @@ } } -- (void) navigationController:(UINavigationController *)navigationController prepareDisplayForViewController:(UIViewController *)viewController{ +// Notify delegates to prepare for the controller to be added to the navigation controller. +- (void)navigationController:(UINavigationController *)navigationController prepareDisplayForViewController:(UIViewController *)viewController { if (self.delegate && [self.delegate respondsToSelector:@selector(navigationController:prepareDisplayForViewController:)]) { [self.delegate navigationController:navigationController