• Stars
    star
    170
  • Rank 223,357 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

SWBufferedToast

[![CI Status](http://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.