Popularity
1.8
Stable
Activity
0.0
Stable
63
6
5

Code Quality Rank: L5
Programming language: Swift
License: MIT License
Tags: UI    
Latest version: v1.0.0

HUDKit alternatives and similar libraries

Based on the "UI" category.
Alternatively, view HUDKit alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of HUDKit or a related project?

Add another 'UI' Library

README

HUDKit

HUDKit provides HUD interface as UIPresentationController.

Features

HUDKit provides HUDPresentationController. This is the HUD interface as an implementation of UIPresentationController. You can show your any view controllers in the HUD panel.

HUDKit provides HUDProgressViewController also. This can be used as progress HUD easily.

Screenshots

Usage

Your view controller must implements UIViewControllerTransitioningDelegate like below.

import UIKit
import HUDKit

class ViewController: UIViewController, UIViewControllerTransitioningDelegate {

    ...

    func presentationControllerForPresentedViewController(presented: UIViewController, presentingViewController presenting: UIViewController, sourceViewController source: UIViewController) -> UIPresentationController? {
        let HUD = HUDPresentationController(presentedViewController: presented, presentingViewController: presenting)
        HUD.dismissWhenTapped = true
        return HUD
    }

}

Next, you have to set it to the transitioningDelegate property and set .Custom to modalPresentationStyle property of your presented view controller.

Now, call presentViewController(_:animated:completion:).

You can read the sample code at Example directory for further informations.

Requirements

  • iOS 8 or later

Author

Hiroki Kato, [email protected]

License

HUDKit is available under the MIT license. See the LICENSE file for more info.


*Note that all licence references and agreements mentioned in the HUDKit README section above are relevant to that project's source code only.