All Projects → PhilippeWeidmann → NotificationToast

PhilippeWeidmann / NotificationToast

Licence: MIT license
Google toast the Apple way !

Programming Languages

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

Projects that are alternatives of or similar to NotificationToast

iakit
无依赖 mini 组件库,只封装了 alert, toast, loading, actionSheet 等使用频率较高的组件。适用于类似 H5 活动页的简单移动端项目,不必为了使用这些组件而引入一个大而全的 UI 库和框架。
Stars: ✭ 38 (-71.21%)
Mutual labels:  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 (-52.27%)
Mutual labels:  uikit, toast
JDToaster
🍞 Toasty iOS alerts
Stars: ✭ 25 (-81.06%)
Mutual labels:  uikit, toast
toast-swift
A Swift Toast view - iOS 14 style and newer - built with UIKit. 🍞
Stars: ✭ 85 (-35.61%)
Mutual labels:  uikit, toast
Squawk
Quick & interactive iOS alerts in Swift.
Stars: ✭ 254 (+92.42%)
Mutual labels:  uikit, toast
SheeKit
Customize and resize sheets in SwiftUI with SheeKit. Utilise the power of `UISheetPresentationController` and other UIKit features.
Stars: ✭ 56 (-57.58%)
Mutual labels:  uikit
RTL-Toast
Android Toast For RTL Applications
Stars: ✭ 16 (-87.88%)
Mutual labels:  toast
TimedSilver
All about swift extensions 😉
Stars: ✭ 75 (-43.18%)
Mutual labels:  uikit
plexydesk
Lightweight Desktop Manager for Gnu/Linux and FreeBSD - Ideal for Low resource computers
Stars: ✭ 33 (-75%)
Mutual labels:  uikit
BottomSheet
Access UISheetPresentationController in SwiftUI on iOS 15 using a simple .bottomSheet modifier.
Stars: ✭ 332 (+151.52%)
Mutual labels:  uikit
HHChaosToolkit
A set of MVVM tookit class libraries for uwp platform.
Stars: ✭ 27 (-79.55%)
Mutual labels:  toast
ALProgressView
Animated and fully customizable progress view with 2 styles: ring and bar.
Stars: ✭ 72 (-45.45%)
Mutual labels:  uikit
learnwithjason.dev
Boop Crew HQ
Stars: ✭ 101 (-23.48%)
Mutual labels:  toast
vue-dk-toast
Lightweight toast-notification plugin for Vue 3 🍞
Stars: ✭ 23 (-82.58%)
Mutual labels:  toast
sendbird-javascript-samples
A guide of the installation and functions of Sendbird Chat, UIKit, and SyncManager for JavaScript samples.
Stars: ✭ 315 (+138.64%)
Mutual labels:  uikit
KeyboardLayoutGuide
Enables you to set up Auto Layout constraints directly between your views and the iOS keyboard.
Stars: ✭ 55 (-58.33%)
Mutual labels:  uikit
UIViewPreviewProvider
Allows displaying UIViews inside the Xcode preview canvas
Stars: ✭ 36 (-72.73%)
Mutual labels:  uikit
awesome-ios
A collaborative list of awesome for iOS developers. Include quick preview.
Stars: ✭ 1,329 (+906.82%)
Mutual labels:  uikit
YYBottomSheet
Simple and Clear BottomSheet
Stars: ✭ 45 (-65.91%)
Mutual labels:  toast
react-native-whc-toast
A react native module to show toast alert, it works on iOS and Android.
Stars: ✭ 20 (-84.85%)
Mutual labels:  toast

NotificationToast

A view that tries to replicate iOS default toast message view.

Title Icon Subtitle
Title Icon Subtitle

Usage

Add this lib to your project using SPM or Cocoapods.

To get the simple "Apple look" you only have to do this:

import NotificationToast

let toast = ToastView(title: "Safari pasted from Notes")
toast.show()

The view also includes many optional customizable properties:

let toast = ToastView(
    title: "Airpods Pro",
    titleFont: .systemFont(ofSize: 13, weight: .regular),
    subtitle: "Connected",
    subtitleFont: .systemFont(ofSize: 11, weight: .light),
    icon: UIImage(systemName: "airpodspro"),
    iconSpacing: 16,
    position: .bottom,
    onTap: { print("Tapped!") }
)
toast.show()

You can present the view with a haptic feedback at the same time (nil by default) :

toast.show(haptic: .success)

Contribute

As this is my first 'UI' package I'm sure it can be greatly improved, PR are welcome 😊

Alternatives

Drops 💧: https://github.com/omaralbeik/Drops
Bauly : https://github.com/wiencheck/Bauly

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