__ __| \ \ / __ __| | | | | | | __ \
| \ / | | | __ `__ \ __ \ | __| | | | | | |
| | | | | | | | | | | | ___ | | | | |
_| _| _| \__,_| _| _| _| _.__/ _| _| _| _| \___/ ____/
Progress HUD like Tumblr. API style like MBProgressHUD.
To run the example project, clone the repo, and run pod install
from the Example directory first.
TYTumblrHUD is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TYTumblrHUD"
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate TYTumblrHUD into your Xcode project using Carthage, specify it in your Cartfile
:
github "luckytianyiyan/TYTumblrHUD"
Run carthage
to build the framework and drag the built TYTumblrHUD.framework
into your Xcode project.
TYTumblrHUD *hud = [TYTumblrHUD showHUDAddedTo:self.view animated:YES];
dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INITIATED, 0), ^{
// do something ...
dispatch_async(dispatch_get_main_queue(), ^{
[hud hideAnimated:YES];
});
});
TYTumblrHUD
is available under the MIT license. See the LICENSE file for more info.