• This repository has been archived on 04/Aug/2024
  • Stars
    star
    1,007
  • Rank 45,632 (Top 0.9 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Version License Platform Support  Language GitHub stars Download

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

cn Chinese (Simplified):

中文说明 / 简书介绍

Screenshots

H U D
image image image
image image image

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

If you wish to contact me, email at: [email protected]

Sina : @晋先森
Twitter : @jinxiansen

License

JHUD is released under the MIT license. See LICENSE for details.