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