All Projects → k-lpmg → Awaittoast

k-lpmg / Awaittoast

Licence: mit
🍞 An async waiting toast with basic toast. Inspired by facebook posting toast

Programming Languages

swift
15916 projects

Labels

Projects that are alternatives of or similar to Awaittoast

Floatingtoast
Android library to create customizable floating animated toasts like in Clash Royale app
Stars: ✭ 86 (-33.33%)
Mutual labels:  toast
Toaster
🍞 Toast for Swift
Stars: ✭ 1,511 (+1071.32%)
Mutual labels:  toast
V Dialogs
A simple and clean instructional dialog plugin for Vue2, dialog type including Modal, Alert, Mask and Toast
Stars: ✭ 121 (-6.2%)
Mutual labels:  toast
Vue Toastr
Vuejs Toast : Plugin and Component Capability.
Stars: ✭ 93 (-27.91%)
Mutual labels:  toast
Android Appmsg
In-layout notifications. Based on Toast notifications and article by Cyril Mottier (http://android.cyrilmottier.com/?p=773).
Stars: ✭ 1,384 (+972.87%)
Mutual labels:  toast
Vue Easy Toast
A Toast widget for Vue 1 & 2
Stars: ✭ 112 (-13.18%)
Mutual labels:  toast
Fluttertoast
Flutter Toast
Stars: ✭ 84 (-34.88%)
Mutual labels:  toast
Vue Toastify
🔥 Simple, extendable, dependency free notification plugin. 🔥
Stars: ✭ 126 (-2.33%)
Mutual labels:  toast
Desktoptoast
A library for toast notifications from desktop app
Stars: ✭ 105 (-18.6%)
Mutual labels:  toast
Toast
A Bootstrap 4.2+ jQuery plugin for the toast component
Stars: ✭ 121 (-6.2%)
Mutual labels:  toast
Jjhud
JJHUD is an displays a translucent HUD with an indicator and/or labels .
Stars: ✭ 94 (-27.13%)
Mutual labels:  toast
Windowshowdemo
Android 弹窗案例总结(仿淘宝弹窗 咸鱼菜单 筛选列表)
Stars: ✭ 95 (-26.36%)
Mutual labels:  toast
Otc
OneTap crack runtime patcher and loader.
Stars: ✭ 121 (-6.2%)
Mutual labels:  toast
Bulma Toast
Bulma's pure JavaScript extension to display toasts
Stars: ✭ 93 (-27.91%)
Mutual labels:  toast
Vuetify Toast Snackbar
Basic Vue toast service that uses Vuetify Snackbar component.
Stars: ✭ 123 (-4.65%)
Mutual labels:  toast
Pixpic
PixPic, a Photo Editing App
Stars: ✭ 1,261 (+877.52%)
Mutual labels:  toast
Livesmashbar
An elegant looking and easy to use informative library with LiveData integration for Android.
Stars: ✭ 107 (-17.05%)
Mutual labels:  toast
Nativescript Feedback
📢 Non-blocking textual feedback for your NativeScript app
Stars: ✭ 127 (-1.55%)
Mutual labels:  toast
Opensource
♨️ 分享GitHub优秀开源项目和主流开发使用的网站、解决问题方案收集以及学习网站或资料,涵盖了iOS, macOS X, Blockchain, Flutter, Weex, H5, Games, C++, Script等多方面的内容,其中iOS大致包涵以下内容:音视频;IM和直播;逆向开发;图像相关(OpenGL, Metal, GPUImage);内购(IAP), ApplePay和第三方支付;安全攻防和应用加固, 数据安全和算法;常用第三方库;导航栏和状态栏;侧边菜单;数据持久;蓝牙, 手势指纹面容ID解锁, 图片浏览器, 扫码, 下拉和上拉刷新, 指示器, Toast, Menu, Sensor, Privacy, WebView和进度条, 动画, 选择器, 搜索, 分享, 图片验证码, 设备相关信息, 广告, 高仿项目及Demo等。
Stars: ✭ 123 (-4.65%)
Mutual labels:  toast
React Native Styled Toast
A theme friendly, easy to use react-native toast component built using styled-components and styled-system.
Stars: ✭ 119 (-7.75%)
Mutual labels:  toast

AwaitToast

Build Status Swift Cocoapods Carthage compatible

🍞 An async waiting toast with basic toast. Inspired by facebook posting toast.

Introduction

Usage

Default

let toast: Toast = Toast.default(text: "Toast is started")

// Show
toast.show()

// Dismiss
toast.dismiss()

// Bottom Direction
Toast.default(text: "Toast is started", direction: .bottom)

Await

let awaitToast: AwaitToast = AwaitToast.default(initialText: "Toast is started", endText: "Toast is ended")

// Show
awaitToast.show()

// Finish
awaitToast.finish()

// Dismiss
awaitToast.dismiss()

Dismiss

// Last toast in queue dismiss
Toast.latestDismiss()
AwaitToast.latestDismiss()

// All toast in queue dismiss
Toast.dismissAll()
AwaitToast.dismissAll()

Appearance

// Get singleton appearance object
let defaultAppearance = ToastAppearanceManager.default
let iconAppearance = ToastAppearanceManager.icon

// Update singletone appearance properties
defaultAppearance.height = 128
defaultAppearance.backgroundColor = .white
defaultAppearance.numberOfLines = 1
defaultAppearance.textAlignment = .left
...

Behavior

// Get singleton behavior object
let defaultBehavior = ToastBehaviorManager.default
let awaitBehavior = ToastBehaviorManager.await

// Update singletone behavior properties
defaultBehavior.isTappedDismissEnabled = false
defaultBehavior.delay = 3.0
defaultBehavior.showDurarion = 0.3
defaultBehavior.duration = 3.0
defaultBehavior.dismissDuration = 0.3
...

Self-sizing

ToastAppearanceManager.default.height = AutomaticDimension
ToastAppearanceManager.icon.height = AutomaticDimension

Installation

CocoaPods (iOS 9+)

platform :ios, '9.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'AwaitToast'
end

Carthage (iOS 9+)

github "k-lpmg/AwaitToast"

LICENSE

These works are 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].