The VHUD framework is a powerful tool for creating customizable heads-up display (HUD) views in your iOS applications. This versatile framework provides a convenient way to display important information to users in a visually appealing and intuitive manner.

Key Features

  • Easily create custom heads-up display views
  • Supports various types of HUD elements, such as labels, buttons, progress bars, and images
  • Customize the appearance of HUD views with a wide range of configuration options
  • Integrate HUD views seamlessly into your application’s user interface
  • Provides animations and transitions to enhance the user experience
  • Responsive design ensures proper layout on different device sizes


To use the VHUD framework, ensure your development environment meets the following requirements:

  • iOS 10.0 or later
  • Xcode 11.0 or later
  • Swift 5.0 or later


Follow these steps to install VHUD in your project:

  1. Open your project in Xcode.
  2. Open the Package.swift file and add the following line to your dependencies:

dependencies: [
    .package(url: "https://github.com/vendor/VHUD.git", .upToNextMajor(from: "1.0.0"))
  1. Build your project to automatically fetch and resolve the added dependency.
  2. In your Xcode project, navigate to your target’s General settings tab.
  3. Scroll down to Embedded Binaries and click the + button.
  4. Select the VHUD framework from the list and click Add.


Follow these steps to create a basic HUD view:

import VHUD

let hud = VHUD(view: self.view)
hud.textLabel.text = "Loading"


The VHUD framework allows you to customize the appearance and behavior of your HUD views. Here are some key customization options:

// Text customization
hud.textLabel.font = UIFont.boldSystemFont(ofSize: 18)
hud.textLabel.textColor = .white

// HUD background customization
hud.backgroundView.color = UIColor(white: 0.3, alpha: 0.7)
hud.backgroundView.style = .blur(.extraLight)

// Progress customization
hud.progressView.color = .systemBlue
hud.progressView.lineWidth = 2.0

Additional Resources

Refer to the following resources for more information:

The VHUD framework simplifies the process of creating HUD views in your iOS applications, enabling you to deliver a seamless and immersive user experience. With its convenient customization options and responsive design, you can easily integrate VHUD into your projects and enhance user engagement.