A highly configurable iOS library for displaying and customizing alerts, action sheets, and notifications with built-in styles and extra views.
CFAlertViewController is an iOS library that helps developers display and customize alerts, action sheets, and notifications on iPad and iPhone. It solves the problem of limited customization options in the native UIAlertController by offering extensive styling capabilities, including custom headers, footers, and multiple alert styles.
iOS developers who need to create highly customized and visually distinct alert dialogs, action sheets, or notifications beyond what the native UIAlertController provides.
Developers choose CFAlertViewController because it offers a familiar API similar to UIAlertController but with far greater customization options, including built-in styles, extra views, and support for adaptive UI and screen rotation.
It is a highly configurable iOS library which allows easy styling with built in styles as well as extra header and footer views so that you can make extremely unique alerts and action sheets.
Offers full control over alert appearance, including colors, alignment, background styles (plain or blur), and container view properties like corner radius and border, as detailed in the README's configuration sections.
Supports alert, action sheet, and notification presentation styles, enabling diverse use cases beyond what native UIAlertController provides, with adaptive UI and screen rotation support.
Allows adding custom UIView headers and footers to alerts, useful for incorporating images or additional content, demonstrated in the README with example images.
Enables dismissal via background tap or swipe gestures with callback handlers, enhancing user experience and providing reasons for dismiss like onActionTap or onBackgroundTap.
Built solely on UIKit with no native SwiftUI support, making it less suitable for modern iOS projects adopting SwiftUI exclusively and requiring bridges for integration.
Requires Cocoapods or manual source file dragging, which complicates setup compared to using built-in APIs and can introduce errors in dependency management.
Adds abstraction over native alerts, which might introduce slight performance overhead, especially with complex customizations like blurred backgrounds or multiple views.
iOS-specific; for cross-platform consistency, separate libraries like CFAlertDialog for Android are needed, but they are not integrated, increasing maintenance effort.
A very flexible message bar for UIKit and SwiftUI.
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
General-purpose contextual cards for iOS
Beautiful animated Alert View. Written in Swift
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.