A Swift wrapper for custom ViewController presentations on iOS, simplifying the Custom View Controller Presentation API.
Presentr is a Swift library that wraps iOS's Custom View Controller Presentation API, enabling developers to easily create custom modal presentations without covering the entire screen. It simplifies the process of presenting view controllers in various sizes, positions, and with custom animations, reducing the boilerplate code required for native iOS presentations.
iOS developers building apps that require custom modal dialogs, alerts, popups, or non-full-screen presentations, particularly those using UIKit and Swift.
Developers choose Presentr for its simplicity and flexibility—it abstracts the complex Custom View Controller Presentation API into an intuitive, declarative interface while offering extensive customization options for transitions, sizing, and styling.
Swift wrapper for custom ViewController presentations on iOS
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Abstracts iOS's complex Custom View Controller Presentation API into a declarative interface, reducing the boilerplate code needed for custom modals as highlighted in the README's philosophy.
Supports multiple presentation styles like alert, popup, top/bottom half, and custom sizes, enabling developers to create diverse modal UIs without covering the entire screen.
Allows extensive configuration including background color/opacity, blur effects, rounded corners, shadows, and swipe-to-dismiss behavior, providing fine-grained control over the modal's appearance.
Includes keyboardTranslationType options to adjust modal positioning when the keyboard appears, improving usability in forms and input-heavy modals.
Tied to UIKit, making it incompatible with SwiftUI-based projects without additional bridging code, which can be a limitation for modern iOS development.
Requires iOS 9.0 or higher, excluding apps that need to support older iOS versions, as noted in the supported Swift versions table.
Creating custom transition animations requires implementing the PresentrAnimation protocol, which can be more complex than using native animation APIs directly.