Enabling the loading overlay info text to take attributed string.
This commit is contained in:
parent
a8f3407ed8
commit
48de2b1869
@ -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;
|
||||||
|
|||||||
@ -55,7 +55,7 @@
|
|||||||
[self startLoadingWith:nil];
|
[self startLoadingWith:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)startLoadingWith:(nullable NSString *)text {
|
- (void)startLoadingWith:(nullable NSAttributedString *)text {
|
||||||
|
|
||||||
[MVMCoreDispatchUtility performBlockOnMainThread:^{
|
[MVMCoreDispatchUtility performBlockOnMainThread:^{
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user