Awesome Open Source
Awesome Open Source


Travis Code Swift npm

A-J-Simple-HUD is an drop-in solution for displaying overlay information in iOS


  • [x] No Dependency, 100% iOS Native
  • [x] Support both iPad and iPhone family
  • [x] High performance, image generaiton is GPU-based
  • [x] Support auto dismiss
  • [x] Full documentation
  • [x] Easy to customise, dynamically support different overlay size


  • iOS 9.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
  • Xcode 9.0+
  • Swift 4.0+


  • drag and drop the entire AJHUD and AJHUDNotice into your project

Full Usage Example

import UIKit

class ViewController: UIViewController {

    @IBAction func onTextButtonTapped(_ sender: UIButton) {
        AJHUD.showText("We ā¤ļø Swift !")

    @IBAction func onSuccessButtonTapped(_ sender: UIButton) {
        AJHUD.showNoticeWithText(.success, text: "saved successfully šŸ‘", autoClear: true, autoClearTime: 2)

    @IBAction func onInfoButtonTapped(_ sender: UIButton) {
        AJHUD.showNoticeWithText(.info, text: "attention šŸ¤”", autoClear: true, autoClearTime: 2)

    @IBAction func onErrorButtonTapped(_ sender: UIButton) {
        AJHUD.showNoticeWithText(.error, text: "something is wrong šŸ˜Æ", autoClear: true, autoClearTime: 2)

Folder Structure

ā”œā”€ā”€ AJHUD.swift
ā”œā”€ā”€ AJHUDNotice.swift
ā””ā”€ā”€ ViewController.swift
Class Responsiblity
AJHUD display overlay information on UIWindow and auto dismiss
AJHUDNoticeType enum type for the supported overlay image icon type
AJHUDConfigure overlay related UI element configuration
AJHUDNoticeImage GPU-based dynamically generate image icon for different overlay icon type



A-J-Simple-HUD is owned and maintained by the Alex Jiang. Thanks for providing computational resources.


A-J-Simple-HUD is released under the MIT license.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
swift (7,335)Ā 
ios (3,370)Ā 
high-performance (179)Ā 
swift4 (171)Ā 
hud (25)Ā 

Find Open Source By Browsing 7,000 Topics Across 59 Categories