Enabling the loading overlay info text to take attributed string.

This commit is contained in:
Sumanth Nadigadda 2023-10-19 16:59:12 +05:30
parent a8f3407ed8
commit 48de2b1869
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
- (void)startLoading; - (void)startLoading;
// Starts Loading, by showing the text in the center // Starts Loading, by showing the text in the center
- (void)startLoadingWith:(nullable NSString *) text; - (void)startLoadingWith:(nullable NSAttributedString *) text;
// Returns if it is showing. // Returns if it is showing.
- (BOOL)isShowing; - (BOOL)isShowing;

View File

@ -55,7 +55,7 @@
[self startLoadingWith:nil]; [self startLoadingWith:nil];
} }
- (void)startLoadingWith:(nullable NSString *)text { - (void)startLoadingWith:(nullable NSAttributedString *)text {
[MVMCoreDispatchUtility performBlockOnMainThread:^{ [MVMCoreDispatchUtility performBlockOnMainThread:^{

View File

@ -16,6 +16,6 @@
@optional @optional
// Called when the view controller should animate loading with custom text // Called when the view controller should animate loading with custom text
- (void)startLoadingWith:(nullable NSString *) text; - (void)startLoadingWith:(nullable NSAttributedString *) text;
@end @end