All Projects → hyperoslo → Whisper

hyperoslo / Whisper

Licence: other
📣 Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Whisper

Applozic Ios Sdk
iOS Real Time Chat & Messaging SDK
Stars: ✭ 104 (-97.2%)
Mutual labels:  notifications, message
Ehplainalert
Plain style IOS alert
Stars: ✭ 44 (-98.82%)
Mutual labels:  notifications, message
Gsmessages
A simple style messages/notifications, in Swift.
Stars: ✭ 595 (-84%)
Mutual labels:  notifications, message
SpaceView
No description or website provided.
Stars: ✭ 58 (-98.44%)
Mutual labels:  notifications, message
Reactnative Animation Challenges
A series of animation challenges in React Native.
Stars: ✭ 352 (-90.53%)
Mutual labels:  notifications
Mmm Remote Control
Magic Mirror Module to shutdown or configure your mirror
Stars: ✭ 331 (-91.1%)
Mutual labels:  notifications
Laravel Desktop Notifier
💻 Send notifications to your desktop from your Laravel Artisan Commands. An JoliNotif wrapper for Laravel.
Stars: ✭ 333 (-91.04%)
Mutual labels:  notifications
Apprise
Apprise - Push Notifications that work with just about every platform!
Stars: ✭ 4,307 (+15.84%)
Mutual labels:  notifications
Anahita
Anahita is a platform and framework for developing open science and knowledge sharing applications on a social networking foundation.
Stars: ✭ 369 (-90.08%)
Mutual labels:  notifications
Notifications
🛎 Notifications Center engine like GitHub or other application for any Rails applications.
Stars: ✭ 359 (-90.34%)
Mutual labels:  notifications
Pg Listen
📡 PostgreSQL LISTEN & NOTIFY for node.js that finally works.
Stars: ✭ 348 (-90.64%)
Mutual labels:  notifications
Pmq
信也科技MQ消息系统
Stars: ✭ 333 (-91.04%)
Mutual labels:  message
Apns4erl
Apple Push Notification Server for Erlang
Stars: ✭ 352 (-90.53%)
Mutual labels:  notifications
React Native Phone Verification
The best React Native example for phone verification (an alternative to Twitter Digits).
Stars: ✭ 332 (-91.07%)
Mutual labels:  message
Pnotify
Beautiful JavaScript notifications with Web Notifications support.
Stars: ✭ 3,601 (-3.15%)
Mutual labels:  notifications
Pync
Python wrapper for Mac OS 10.8 Notification Center
Stars: ✭ 327 (-91.2%)
Mutual labels:  notifications
Chronos
📊 📊 📊 Monitors the health and web traffic of servers, microservices, and containers with real-time data monitoring and receive automated notifications over Slack or email.
Stars: ✭ 347 (-90.67%)
Mutual labels:  notifications
Apnotic
A Ruby APNs HTTP/2 gem able to provide instant feedback.
Stars: ✭ 360 (-90.32%)
Mutual labels:  notifications
Vapor Apns
Simple APNS Library for Vapor (Swift)
Stars: ✭ 344 (-90.75%)
Mutual labels:  notifications
Onesignal Website Sdk
OneSignal is a push notification service for web and mobile apps. This SDK makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Stars: ✭ 338 (-90.91%)
Mutual labels:  notifications

Whisper

CircleCI License Platform

Description 🍃

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

Whisper

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

In-App

Let users know that something happened inside the app with this beautiful customizable in-app notification.

Whistles

Whistle

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 the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].