GSMessage alternatives and similar libraries
Based on the "Alert" category.
Alternatively, view GSMessage alternatives based on common mentions on social networks and blogs.
-
SwiftMessages
A very flexible message bar for iOS written in Swift. -
Alerts Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date... -
SwiftEntryKit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps. -
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
PopupDialog
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style. -
Whisper
:mega: Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside -
XLActionController
Fully customizable and extensible action sheet controller written in Swift -
Jelly
๐ - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API. -
PMAlertController
PMAlertController is a great and customizable alert that can substitute UIAlertController -
CDAlertView
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift -
Queuer
Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD). -
SPAlert
Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets. [Moved to: https://github.com/varabeis/SPAlert] -
StatusAlert
Display Apple system-like self-hiding status alerts. It is well suited for notifying user without interrupting user flow in iOS-like way. -
SwiftOverlays
SwiftOverlays is a Swift GUI library for displaying various popups and notifications -
SPIndicator
Floating indicator, mimicrate to indicator which appear when silent mode switched. Can be present from top and bottom. Interactive with gesters. -
GoogleWearAlert
An Android Wear style confirmation view for iOS -
Sheet
๐ Actionsheet with navigation features such as the Flipboard App -
Toast-Swift
A Swift Toast view - iOS 14 style and newer - built with UIKit. ๐ -
AwaitToast
๐ An async waiting toast with basic toast. Inspired by facebook posting toast -
Zingle
Zingle โ An alert will display underneath your UINavigationBar ๐ -
FCAlertView
FCAlertView is a Flat Customizable AlertView for iOS (Swift) -
Indicate
Interactive notification pop-over (aka "Toast) modeled after the iOS AirPods and Apple Pencil indicator. -
MaterialActionSheetController
A Google like action sheet for iOS written in Swift. -
ALRT
An easier constructor for UIAlertController. Present an alert from anywhere. -
Notie
In-app notification in Swift, with customizable buttons and input text field. -
HYAlertController
A Simple And Minimalist iOS AlertController -
KRAlertController
A beautiful alert controller for your iOS. -
GSAlert
[deprecated] UIAlertController support iOS 7+ and written in swift. -
SwiftAlertController
Nice and easy UIAlertController extensions
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of GSMessage or a related project?
README
Demo
Example
To show notifications use the following code:
self.showMessage("Something success", type: .success)
To display a notice on a view:
view.showMessage("Something success", type: .success)
To hide a notification manually:
self.hideMessage()
Options (Current setting is default value):
- type : success / error / warning / info
- animation : slide(.normal) / slide(.distance(50)) / fade
- position : top / bottom
- textAlignment : topLeft / topCenter / topRight / left / center / right / bottomLeft / bottomCenter / bottomRight
self.showMessage("String or NSAttributedString", type: .success, options: [
.accessibilityIdentifier(nil),
.animations([.slide(.normal)]),
.animationDuration(0.3),
.autoHide(true),
.autoHideDelay(3.0),
.cornerRadius(0.0),
.height(44.0),
.hideOnTap(true),
.handleTap({}),
.isInsideSafeAreaInsets(true),
.margin(.zero),
.padding(.init(top: 10, left: 30, bottom: 10, right: 30)),
.position(.top),
.textAlignment(.center),
.textColor(.white),
.textNumberOfLines(1),
])
Font / Background Color
To set custom fonts and background colors in the following ways:
GSMessage.font = UIFont.boldSystemFont(ofSize: 14)
GSMessage.successBackgroundColor = UIColor(red: 142.0/255, green: 183.0/255, blue: 64.0/255, alpha: 0.95)
GSMessage.warningBackgroundColor = UIColor(red: 230.0/255, green: 189.0/255, blue: 1.0/255, alpha: 0.95)
GSMessage.errorBackgroundColor = UIColor(red: 219.0/255, green: 36.0/255, blue: 27.0/255, alpha: 0.70)
GSMessage.infoBackgroundColor = UIColor(red: 44.0/255, green: 187.0/255, blue: 255.0/255, alpha: 0.90)
Requirements
Master
- iOS 8.0+
- Xcode 11+ (Swift 5.x)
1.7.1
- iOS 8.0+
- Xcode 10.0+ (Swift 4.2)
1.5.1
- iOS 8.0+
- Xcode 9.0+ (Swift 4.0)
1.3.5
- iOS 8.0+
- Xcode 8.0+ (Swift 3.x)
1.2.4
- iOS 7.0+
- Xcode 7.3+ (Swift 2.x)
Installation
CocoaPods:
In your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod "GSMessages"
And in your *.swift
:
import GSMessages
Carthage:
In your Cartfile
:
github "wxxsw/GSMessages"
And in your *.swift
:
import GSMessages
License
GSMessages is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the GSMessage README section above
are relevant to that project's source code only.