diff --git a/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingOverlayHandler.h b/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingOverlayHandler.h index 0f26243..666f1b3 100644 --- a/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingOverlayHandler.h +++ b/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingOverlayHandler.h @@ -18,7 +18,7 @@ - (void)startLoading; // Starts Loading, by showing the text in the center -- (void)startLoadingWith:(nullable NSString *) text; +- (void)startLoadingWith:(nullable NSAttributedString *) text; // Returns if it is showing. - (BOOL)isShowing; diff --git a/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingOverlayHandler.m b/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingOverlayHandler.m index 2f16b09..e53df5e 100644 --- a/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingOverlayHandler.m +++ b/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingOverlayHandler.m @@ -55,7 +55,7 @@ [self startLoadingWith:nil]; } -- (void)startLoadingWith:(nullable NSString *)text { +- (void)startLoadingWith:(nullable NSAttributedString *)text { [MVMCoreDispatchUtility performBlockOnMainThread:^{ diff --git a/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingViewControllerProtocol.h b/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingViewControllerProtocol.h index be95878..e4afe13 100644 --- a/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingViewControllerProtocol.h +++ b/MVMCore/MVMCore/LoadHandling/LoadingOverlay/MVMCoreLoadingViewControllerProtocol.h @@ -16,6 +16,6 @@ @optional // Called when the view controller should animate loading with custom text -- (void)startLoadingWith:(nullable NSString *) text; +- (void)startLoadingWith:(nullable NSAttributedString *) text; @end