GSMessages alternatives and similar libraries
Based on the "Alerts" category.
Alternatively, view GSMessage alternatives based on common mentions on social networks and blogs.
-
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
JDStatusBarNotification
Highly customizable & feature rich notifications. Interactive dismiss. Custom Views. SwiftUI. Tap-to-hold. Progress. Written in Swift, compatible for ObjC! -
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 -
PMAlertController
PMAlertController is a great and customizable alert that can substitute UIAlertController -
Jelly
🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API. -
RMDateSelectionViewController
This is an iOS control for selecting a date using UIDatePicker in an UIAlertController like manner -
CDAlertView
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift -
CFAlertViewController
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. -
Swift-Prompts
A Swift library to design custom prompts with a great scope of options to choose from. -
TTGSnackbar
TTGSnackbar shows simple message and action button on the bottom or top of the screen with multi kinds of animation, which is written in Swift3 and inspired by Snackbar in Android. It also support showing custom view, icon image or multi action button. -
RMActionController
This is an iOS control for presenting any UIView in an UIAlertController like manner -
DOAlertController
Simple Alert View written in Swift, which can be used as a UIAlertController. (AlertController/AlertView/ActionSheet) -
RMPickerViewController
This is an iOS control for selecting something using UIPickerView in an UIAlertController like manner -
BPStatusBarAlert
BPStatusBarAlert is a library that allows you to easily make text-based alert that appear on the status bar and below navigation bar. -
RAlertView
AlertView, Ios popup window, A pop-up framework, Can be simple and convenient to join your project. IOS 提示框,IOS弹框,IOS弹窗 -
SnowGlobeFramework
Snow globe framework is delightful / slightly cheese easter egg for christmas season. Turns your awesome app into a snow globe, when user shake the device. -
AlertViewLoveNotification
A simple and attractive AlertView to ask permission to your users for Push Notification.
WorkOS - The modern identity platform for B2B SaaS
* 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 GSMessages 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 GSMessages README section above
are relevant to that project's source code only.