Whisper alternatives and similar libraries
Based on the "Alerts" category.
Alternatively, view Whisper alternatives based on common mentions on social networks and blogs.
-
JDStatusBarNotification
Highly customizable & feature rich notifications. Interactive dismiss. Custom Views. SwiftUI. Tap-to-hold. Progress. Written in Swift, compatible for ObjC! -
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
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. -
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. -
Swift-Prompts
A Swift library to design custom prompts with a great scope of options to choose from. -
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.
CodeRabbit: AI Code Reviews for Developers
* 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 Whisper or a related project?
README
Description :leaves:
Break the silence of your UI, whispering, shouting or whistling at it. Whisper is a component that will make the task of displaying messages and in-app notifications simple. It has three different views inside.
Whispers
Display a short message at the bottom of the navigation bar—this can be anything, from a "Great Job!" to an error message. It can have images or even a loader.
Shouts
Let users know that something happened inside the app with this beautiful customizable in-app notification.
Whistles
This is the smallest of all, a beautiful discretion in your UI.
Bonus
All sounds are fully customizable, as are colors and fonts.
Shouts have an optional action that will be called if the user taps on it, and you'll even get a message when the Shout is gone. Finally, if you want to set how long the Shout should be displayed, you have a duration property.
In Whisper, there is no need to think about scroll view insets anymore—this will be handled automatically. As an added bonus, when transitioning from one view controller to another, the next controller's offset will be adjusted as you'd expect. It just works!
Usage
The usage of the component is so simple, you just create a message in the case of Whisper, an announcement in the case of a Shout, or a Murmur in the case of a Whistle. Because there may be a conflict with show
from UIViewController
, you need to explicitly use the Whisper
namespace to call show
.
For a Whisper:
let message = Message(title: "Enter your message here.", backgroundColor: .red)
// Show and hide a message after delay
Whisper.show(whisper: message, to: navigationController, action: .show)
// Present a permanent message
Whisper.show(whisper: message, to: navigationController, action: .present)
// Hide a message
Whisper.hide(whisperFrom: navigationController)
For a Shout:
let announcement = Announcement(title: "Your title", subtitle: "Your subtitle", image: UIImage(named: "avatar"))
Whisper.show(shout: announcement, to: navigationController, completion: {
print("The shout was silent.")
})
For a Whistle:
let murmur = Murmur(title: "This is a small whistle...")
// Show and hide a message after delay
Whisper.show(whistle: murmur, action: .show(0.5))
// Present a permanent status bar message
Whisper.show(whistle: murmur, action: .present)
// Hide a message
Whisper.hide(whistleAfter: 3)
If you want to use Whisper with Objective-C, you can find information about it here.
Installation
Whisper is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Whisper'
Whisper is also available through Carthage. To install just write into your Cartfile:
github "hyperoslo/Whisper"
Roadmap
In the future the idea is to keep improving and add some features:
- Improve the offset detection and animation.
- Add more UI related components into Whisper.
- More customization points and more sizes for each whisper.
- Custom actions inside Whispers and Shouts.
- We are open to new and awesome ideas, contribute if you like! :)
Author
Hyper made this with ❤️
Contribute
We would love for you to contribute to Whisper, check the CONTRIBUTING file for more info.
License
Whisper is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the Whisper README section above
are relevant to that project's source code only.