Skip to content

A simple UI class for presenting useful information to the user.

License

Notifications You must be signed in to change notification settings

yoavlt/SWBufferedToast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWBufferedToast

[![CI Status](http:https://img.shields.io/travis/Stephen Walsh/SWBufferedToast.svg?style=flat)](https://travis-ci.org/Stephen Walsh/SWBufferedToast) Version License Platform

About

SWBufferedToast is a simple alert-style class for presenting information to the user. An SWBufferedToast can be instantiated with one of three types:

1. Plain Toast

A simple dismissable alert with a title, description and action button.

Alt text

2. Notice Toast

A non-dismissable alert used to notify the user of an ongoing task. This alert cannot be dismissed by the user, but can be dismissed using a timer or by calling toast.dismiss.

Alt text

3. Login Toast

A modal login window in the style of a toast.

Alt text

All three alert types have a buffering animation that can be turned on and off as necessary. Additionally, you can supply your own images for this buffering animation.

If you wish to use your own animation images for the buffering state please be sure to add them to the "Pods-SWBufferedToast-SWBufferedToast-SWBufferedToast" target.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

A project with a deployment target of iOS 7.0 or later

Installation

SWBufferedToast is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SWBufferedToast"

Author

Stephen Walsh, [email protected]

License

SWBufferedToast is available under the MIT license. See the LICENSE file for more info.

About

A simple UI class for presenting useful information to the user.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 87.4%
  • Shell 9.1%
  • Ruby 2.6%
  • C 0.9%