All Projects → jdisho → JDToaster

jdisho / JDToaster

Licence: MIT License
🍞 Toasty iOS alerts

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to JDToaster

Squawk
Quick & interactive iOS alerts in Swift.
Stars: ✭ 254 (+916%)
Mutual labels:  alert, uikit, toast
bs5-utils
A JavaScript utility package for Bootstrap 5 components.
Stars: ✭ 26 (+4%)
Mutual labels:  toast, toast-message, toast-notifications
iakit
无依赖 mini 组件库,只封装了 alert, toast, loading, actionSheet 等使用频率较高的组件。适用于类似 H5 活动页的简单移动端项目,不必为了使用这些组件而引入一个大而全的 UI 库和框架。
Stars: ✭ 38 (+52%)
Mutual labels:  alert, uikit, toast
Loafjet
🚀 Loafjet is a lightweight custom framework used to add Loafs, Dash Board, Popup Card, and Loading indicator in your Swift project
Stars: ✭ 63 (+152%)
Mutual labels:  uikit, toast, toast-message
RTL-Toast
Android Toast For RTL Applications
Stars: ✭ 16 (-36%)
Mutual labels:  toast, toast-message, toast-notifications
simple-notify
Pure javascript toast notifications.
Stars: ✭ 108 (+332%)
Mutual labels:  toast, toast-message, toast-notifications
vue2-dialog
A mobile Vue plugin for VueDialog
Stars: ✭ 21 (-16%)
Mutual labels:  alert, toast
xxy
xxy xxy.js alert 移动端弹窗 弹窗 上拉加载 下拉刷新 移动端UI 轮播 banner
Stars: ✭ 84 (+236%)
Mutual labels:  alert, toast
toast-swift
A Swift Toast view - iOS 14 style and newer - built with UIKit. 🍞
Stars: ✭ 85 (+240%)
Mutual labels:  uikit, toast
toaststrap
A simple, lightweight JavaScript library for showing Bootstrap 5 toast popups.
Stars: ✭ 16 (-36%)
Mutual labels:  toast, toast-notifications
NotificationToast
Google toast the Apple way !
Stars: ✭ 132 (+428%)
Mutual labels:  uikit, toast
SimpleToast
SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or MacOS applications in SwiftUI. Because of the flexibility to show any content it is also possible to use the library for showing simple modals.
Stars: ✭ 131 (+424%)
Mutual labels:  toast, toast-notifications
jh-weapp-demo
微信小程序项目- 实现一些常用效果、封装通用组件和工具类
Stars: ✭ 60 (+140%)
Mutual labels:  alert, toast
react-toast
Minimal toast notifications for React.
Stars: ✭ 47 (+88%)
Mutual labels:  toast, toast-notifications
iOSUtilitiesSource
IOS Utilities Library for Swift
Stars: ✭ 46 (+84%)
Mutual labels:  toast, toast-message
tall-toasts
A Toast notification library for the Laravel TALL stack. You can push notifications from the backend or frontend to render customizable toasts with almost zero footprint on the published CSS/JS 🔥🚀
Stars: ✭ 296 (+1084%)
Mutual labels:  toast, toast-notifications
SteamAchievementNotifier
Steam Achievement Notifier is an Electron application that shows a customisable notification when you unlock any Steam Achievement! It uses the Steam Web API to track achievement stats in real time, and displays an achievement summary within the notification.
Stars: ✭ 77 (+208%)
Mutual labels:  toast, toast-notifications
neodigm55
An eclectic low-code vanilla JavaScript UX micro-library for those that defiantly think for themselves.
Stars: ✭ 14 (-44%)
Mutual labels:  toast, toast-notifications
ComposableSweetToast
Jetpack Compose, Custom Toast, Solid Principles, Kotlin
Stars: ✭ 60 (+140%)
Mutual labels:  toast, toast-message
angular-8-alert-notifications
Angular 8 - Alert (Toaster) Notifications
Stars: ✭ 32 (+28%)
Mutual labels:  alert, toast-notifications

🍞 Toasty iOS alerts

A toast provides simple feedback in the bottom of the screen about an operation in an popup, which only fills the required amount of space for the message. The current popup remains visible until it’s manully dismissed or automaticaly after a given timeout. It doesn't interupt the user experience and doesn't require any user input to dismiss.

Similar to an UIAlertController, a toast is displayed in a separate UIWindow. This means that it’s presented on top of everything, regardless the view hierarchy.

🛠 Installation

CocoaPods

To integrate JDToaster into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'JDToaster'

Then, run the following command:

pod install

Manually

If you prefer not to use any of the dependency managers, you can integrate JDToaster into your project manually, by downloading the source code and placing the files on your project directory.

👩‍💻 Usage

The Basics

Display a toast

Toaster.default.show(text: “Hello Toast!”)

Dismiss a toast

Toaster.default.dismiss(animated: true)

🎨 Customizations

Property Type Default Description
backgroundColor UIColor .black Background colour of the toast
font UIFont .systemFont(ofSize: 17, weight: .medium) Font of the presented text
textColor UIColor .white Colour of the presented text
textInsets UIEdgeInsets UIEdgeInsets(top: 16.0, left: 16.0, bottom: 16.0, right: 16.0) Insets of the text within the toast
cornerRadius CGFloat 8.0 Corner radius of the toast
bottomPadding CGFloat 16.0 The space between the toast bottom board and the bottom
minimumHorizontalPadding CGFloat 24.0 The minimum space between the toast left/right board and the view.

Example

Checkout the Example project

🙏 Acknowledgments

🐨 Author

This tiny library is created with ❤️ by Joan Disho.

📃 License

JDToaster is released under an MIT license. See License.md for more information.

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].