Toaster 2.2.0

Toaster 2.2.0

LangLanguage SwiftSwift
License WTFPL
ReleasedLast Release Mar 2019
SPMSupports SPM

Maintained by Suyeol Jeon, Cœur.

Toaster 2.2.0

  • By
  • devxoul


Build Status Swift CocoaPods Carthage compatible

Android-like toast with very simple interface. (formerly JLToast)


  • Queueing: Centralized toast center manages the toast queue.
  • Customizable: See the Appearance section.

At a Glance

import Toaster

Toast(text: "Hello, world!").show()


  • For iOS 8+ projects with CocoaPods:

    pod 'Toaster'
  • For iOS 8+ projects with Carthage:

    github "devxoul/Toaster"

Getting Started

Setting Duration and Delay

Toast(text: "Hello, world!", duration: Delay.long)
Toast(text: "Hello, world!", delay: Delay.short, duration: Delay.long)

Removing Toasts

  • Removing toast with reference:

    let toast = Toast(text: "Hello")
    toast.cancel() // remove toast immediately
  • Removing current toast:

    if let currentToast = ToastCenter.default.currentToast {
  • Removing all toasts:



Since Toaster 2.0.0, you can use UIAppearance to set default appearance. This is an short example to set default background color to red.

ToastView.appearance().backgroundColor = .red

Supported appearance properties are:

Property Type Description
backgroundColor UIColor Background color
cornerRadius CGFloat Corner radius
textInsets UIEdgeInsets Text inset
textColor UIColor Text color
font UIFont Font
bottomOffsetPortrait CGFloat Vertical offfset from bottom in portrait mode
bottomOffsetLandscape CGFloat Vertical offfset from bottom in landscape mode


Toaster Screenshot


Toaster is under WTFPL. You can do what the fuck you want with Toast. See LICENSE file for more info.