-
-
Save objectmethod/db4658a9d22b2afd0210 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) showHUDInView:(UIView*)view { | |
[self showHUDWithLabel:@"Getting Text" inView:view]; | |
} | |
- (void) showHUDWithLabel:(NSString*)label inView:(UIView*)view { | |
if (!self.hud) { | |
self.hud = [MRProgressOverlayView showOverlayAddedTo:self.view animated:YES]; | |
self.hud.tintColor = YIK_YAK_GREEN_1_COLOR; | |
if (label) { | |
self.hud.titleLabelText = label; | |
self.hud.titleLabel.font = [UIFontManager AVENIR_BOOK_SIXTEEN_FONT]; | |
self.hud.titleLabel.textColor = GRAY_TEXT_COLOR; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment