Progress HUD inspired by Tumblr app.
Add the AMTumblrHud.h
and AMTumblrHud.m
source files to your project.
- Download the latest code version or add the repository as a git submodule to your git-tracked project.
- Open your project in Xcode, then drag and drop
AMTumblrHud.h
andAMTumblrHud.m
onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. - Include AMTumblrHud wherever you need it with
#import "AMTumblrHud.h"
Or use CocoaPods:
pod 'AMTumblrHud'
AMTumblrHud *tumblrHUD = [[AMTumblrHud alloc] initWithFrame:CGRectMake(100, 100, 55, 20)];
tumblrHUD.hudColor = UIColorFromRGB(0xF1F2F3); //[UIColor magentaColor];
[self.view addSubview:tumblrHUD];
[tumblrHUD showAnimated:YES];
This code is distributed under the terms and conditions of the MIT license.