Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. SwiftMessages

SwiftMessages

MITSwift10.0.2

A flexible message bar and view controller presentation library for iOS and macOS, supporting UIKit and SwiftUI.

GitHubGitHub
7.6k stars766 forks0 contributors

What is SwiftMessages?

SwiftMessages is an open-source library for iOS and macOS that enables developers to display customizable message bars, alerts, and view controllers. It solves the problem of creating polished, interactive user notifications with support for both UIKit and SwiftUI, offering a wide range of presentation styles, animations, and customization options.

Target Audience

iOS and macOS developers building apps with UIKit or SwiftUI who need a robust, flexible solution for showing alerts, notifications, or custom modal views.

Value Proposition

Developers choose SwiftMessages for its extensive customization capabilities, smooth animations, and seamless integration with both UIKit and SwiftUI, allowing them to create professional-grade messaging components without reinventing the wheel.

Overview

A very flexible message bar for UIKit and SwiftUI.

Use Cases

Best For

  • Showing temporary alerts or notifications in iOS apps
  • Displaying custom modal views with interactive dismiss gestures
  • Integrating SwiftUI views into UIKit-based message presentations
  • Creating accessible message bars with VoiceOver support
  • Implementing a queued message system to handle multiple alerts
  • Presenting view controllers with custom animations and layouts

Not Ideal For

  • Apps that only need simple system alerts without custom animations or designs
  • Cross-platform projects using frameworks like React Native or Flutter
  • Developers preferring minimal dependencies for basic notification functionality

Pros & Cons

Pros

Flexible Presentation Styles

Supports top, bottom, center, and behind navigation bar placements with multiple animation options, as detailed in the 'Flexible Presentation' feature.

Deep Customization Options

Allows full customization via nib files, subclassing, or arbitrary UIView/SwiftUI views, enabling tailored designs without constraints.

Seamless SwiftUI Integration

Provides view modifiers and hosting support to incorporate SwiftUI views, bridging UIKit and SwiftUI ecosystems effectively.

Built-in Accessibility

Includes VoiceOver support and keyboard avoidance features out-of-the-box, ensuring accessible user interactions without extra work.

Cons

iOS 13 Status Bar Limitation

Due to iOS 13 changes, covering the status bar is impossible, requiring workarounds like hiding it, which can disrupt user experience.

Configuration Overhead

With numerous options for presentation, animation, and layout, initial setup and tuning can be complex for straightforward use cases.

UIKit Core Dependency

Even with SwiftUI support, core functionality relies on UIKit, which may not suit pure SwiftUI projects seeking native solutions.

Frequently Asked Questions

Quick Stats

Stars7,557
Forks766
Contributors0
Open Issues39
Last commit2 months ago
CreatedSince 2016

Tags

#ios#custom-animations#alerts#swift4#notification#ui#ui-components#banner#swiftui#swift#snackbar#macos#presentation#uikit

Built With

X
Xcode
S
SwiftUI
U
UIKit
S
Swift

Included in

iOS51.7kSwift26.0k
Auto-fetched 1 day ago

Related Projects

SwiftEntryKitSwiftEntryKit

SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps.

Stars6,757
Forks622
Last commit1 year ago
Alerts & PickersAlerts & Pickers

Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...

Stars5,763
Forks710
Last commit2 years ago
BulletinBoardBulletinBoard

General-purpose contextual cards for iOS

Stars5,354
Forks302
Last commit3 years ago
SCLAlertView-SwiftSCLAlertView-Swift

Beautiful animated Alert View. Written in Swift

Stars5,321
Forks753
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub