All Projects → Rannie → Toast Swift

Rannie / Toast Swift

Licence: mit
Toast view using swift.

Programming Languages

swift
15916 projects

Labels

Projects that are alternatives of or similar to Toast Swift

Alerttoast
Create Apple-like alerts & toasts using SwiftUI
Stars: ✭ 151 (-33.77%)
Mutual labels:  toast
Notiflix
Notiflix is a JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
Stars: ✭ 172 (-24.56%)
Mutual labels:  toast
React Native Smart Tip
🔥🔥🔥Toast , SnackBar , Modal , Show Toast above Modal
Stars: ✭ 198 (-13.16%)
Mutual labels:  toast
React Toast Notifications
🍞 A toast notification system for react
Stars: ✭ 2,103 (+822.37%)
Mutual labels:  toast
Vue Toasted
🖖 Responsive Touch Compatible Toast plugin for VueJS 2+
Stars: ✭ 2,091 (+817.11%)
Mutual labels:  toast
Angular Notifier
A well designed, fully animated, highly customizable, and easy-to-use notification library for your Angular application.
Stars: ✭ 175 (-23.25%)
Mutual labels:  toast
Utilsdmo
jsonManager json解析 采用 fastjson TimeUtils 时间类 除了时间格式化,提供用于视频的时长,和语音的时长的时间格式化 YUtils 类例如 获取屏幕宽
Stars: ✭ 149 (-34.65%)
Mutual labels:  toast
Snackbar
A tiny browser library for showing a brief message at the bottom of the screen (1kB gzipped).
Stars: ✭ 224 (-1.75%)
Mutual labels:  toast
Styleabletoast
[Moved to MavenCentral] An Android library that takes the standard toast to the next level with many styling options. Works on all Android versions.
Stars: ✭ 2,073 (+809.21%)
Mutual labels:  toast
Sweetalert2
A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies.
Stars: ✭ 13,929 (+6009.21%)
Mutual labels:  toast
Ionic Toast
'ionic-toast' bower component for ionic framework applications
Stars: ✭ 160 (-29.82%)
Mutual labels:  toast
Fastandrutils
android快速开发工具类
Stars: ✭ 165 (-27.63%)
Mutual labels:  toast
React Notify Toast
Toast notifications for React.js
Stars: ✭ 176 (-22.81%)
Mutual labels:  toast
Notistack
Highly customizable notification snackbars (toasts) that can be stacked on top of each other
Stars: ✭ 2,562 (+1023.68%)
Mutual labels:  toast
Wc Messagebox
基于 Vue 2.0 开发的 Alert, Toast, Confirm 插件, UI仿照 iOS 原生
Stars: ✭ 203 (-10.96%)
Mutual labels:  toast
Notyf
👻 A minimalistic, responsive, vanilla JavaScript library to show toast notifications.
Stars: ✭ 2,093 (+817.98%)
Mutual labels:  toast
Flash
⚡️A highly customizable, powerful and easy-to-use alerting library for Flutter.
Stars: ✭ 174 (-23.68%)
Mutual labels:  toast
Toast
A go package for Windows 10 toast notifications
Stars: ✭ 225 (-1.32%)
Mutual labels:  toast
Vue Toast Notification
Yet another toast notification plugin for Vue.js 🌷
Stars: ✭ 205 (-10.09%)
Mutual labels:  toast
Tfpopup
🚀🚀🚀TFPopup不生产弹框,它只是弹框的弹出工🚀🚀🚀默认支持多种动画方式一行调用,支持完全自定义动画.
Stars: ✭ 182 (-20.18%)
Mutual labels:  toast

Toast-Swift

Toast view using swift.

New Screenshot 1 New Screenshot 2 New Screenshot 3

New Toast-Swift has been updated!


New Toast-Swift can compile with Swift 3.0.
And u can set the theme color of the toast view.

Install


download this repo and import "UIView+HRToast".

Usage


  1. Set theme color (defalut is UIColor.blackColor())

    view.hr_setToastThemeColor(color: #ThemeColor)
    
  2. Single toast view

    First Screenshot

    view.makeToast(message: msg)
    
  3. Toast with title

    Second Screenshot

    view.makeToast(message: msg, duration: duration, position: pos, title: subject)
    
  4. Toast with image, title...

    Third Screenshot

    view.makeToast(message: msg, duration: duration, position: pos, title: subject, image: image)
    
  5. Show and hide activity

    Fourth Screenshot

    view.makeToastActivity()
    view.hideToastActivity()
    
  6. Show activity with message

    Fifth Screenshot

    view.makeToastActivityWithMessage(message: msg)
    

LICENSE


The MIT License (MIT)

Copyright (c) 2017 Hanran Liu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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