Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/Jinxiansen/JHUD

A full screen of the HUD when loading the data (Objective-C).
https://github.com/Jinxiansen/JHUD

animtion empty hud ios loading loading-animations mbprogresshud notice svprogresshud toast

Last synced: 3 months ago
JSON representation

A full screen of the HUD when loading the data (Objective-C).

Awesome Lists containing this project

README

        

[![Version](https://img.shields.io/cocoapods/v/JHUD.svg?style=flat)](http://cocoapods.org/pods/JHUD)
[![License](https://img.shields.io/cocoapods/l/JHUD.svg?style=flat)](http://cocoapods.org/pods/JHUD)
[![Platform](https://img.shields.io/cocoapods/p/JHUD.svg?style=flat)](http://cocoapods.org/pods/JHUD)
[![Support](https://img.shields.io/badge/support-iOS%206%2B%20-blue.svg?style=flat)](https://www.apple.com/nl/ios/) 
![Language](https://img.shields.io/badge/Language-%20Objective%20C%20-blue.svg)
[![GitHub stars](https://img.shields.io/github/stars/jinxiansen/JHUD.svg)](https://github.com/jinxiansen/JHUD/stargazers)
![Download](https://img.shields.io/cocoapods/dt/JHUD.svg)

#### `JHUD` is a full screen of the HUD when loading the data (Objective-C) .

#### ![cn](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/24/China.png) **Chinese (Simplified)**:
##### [中文说明](README.zh.md) / [简书介绍](http://www.jianshu.com/p/fc07f027680c)

## Screenshots

|H|U|D|
|:---:|:---:|:---:|
|![image](gif/1.gif)|![image](gif/2.gif)|![image](gif/3.gif)|
![image](gif/4.gif)|![image](gif/5.gif)|![image](gif/6.gif)|

## Requirements

`JHUD` works on "Xcode 7.3 , iOS 6+ and requires ARC to build.
You will need the latest developer tools in order to build `JHUD`. Old Xcode versions might work, but compatibility will not be explicitly maintained.

## CocoaPods

CocoaPods is the recommended way to add JHUD to your project.

First, add a pod entry for JHUD to your Podfile.

```
pod 'JHUD'
```
Second, install JHUD into your project:

```
pod install
```
Third, include JHUD wherever you need it with `#import "JHUD.h"`.

## Manually

1. Download the latest code version .
2. Open your project in Xcode,drag the `JHUD` folder into your project. Make sure to select Copy items when asked if you extracted the code archive outside of your project.
3. You need it with `#import "JHUD.h"`.

## Usage

```
hudView = [[JHUD alloc]initWithFrame:self.view.bounds];

hudView.messageLabel.text = @"hello ,this is a circle animation";

//show
[hudView showAtView:self.view hudType:JHUDLoadingTypeCircle];

//hide
[hudView hide];
```

Class method :

```
[JHUD showAtView:self.view message:@"Hello, this is a message"];

[JHUD hideForView:self.view];
```

For more examples, including how to use JHUD , take a look at the bundled demo project. API documentation is provided in the header file (JHUD.h).

## Contacts ![](gif/zz.jpg)

#### If you wish to contact me, email at: [email protected]
##### Sina : [@晋先森](http://weibo.com/3205872327)
##### Twitter : [@jinxiansen](https://twitter.com/jinxiansen)

## License

JHUD is released under the [MIT license](LICENSE). See LICENSE for details.