An open API service indexing awesome lists of open source software.

https://github.com/insfgg99x/fggprogresshud

简单好看的加载指示器
https://github.com/insfgg99x/fggprogresshud

hud loading loading-indicator progresshud

Last synced: 6 months ago
JSON representation

简单好看的加载指示器

Awesome Lists containing this project

README

          

##FGGProgressHUD

![演示](https://github.com/Insfgg99x/FGGProgressHUD/blob/master/demo.png)

##Producation
一个极简的HUD蒙板,直接在controller中使用,`[self showHUD]`

##Usage

- show:

```
[self showHUD];

```

- hide:

```
[self hideHUD];
```

like this:

```

- (void)viewDidLoad {

[self showHUD];
__weak typeof(self) wkself=self;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{

[wkself hideHUD];
});
}
```