Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.05 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.05 KB

AMTumblrHud

Progress HUD inspired by Tumblr app.

Installation

Add the AMTumblrHud.h and AMTumblrHud.m source files to your project.

  1. Download the latest code version or add the repository as a git submodule to your git-tracked project.
  2. Open your project in Xcode, then drag and drop AMTumblrHud.h and AMTumblrHud.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.
  3. Include AMTumblrHud wherever you need it with #import "AMTumblrHud.h"

Or use CocoaPods:

pod 'AMTumblrHud'

Usage

AMTumblrHud *tumblrHUD = [[AMTumblrHud alloc] initWithFrame:CGRectMake(100, 100, 55, 20)];
tumblrHUD.hudColor = UIColorFromRGB(0xF1F2F3); //[UIColor magentaColor];
[self.view addSubview:tumblrHUD];

[tumblrHUD showAnimated:YES];

License

This code is distributed under the terms and conditions of the MIT license.