Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A toast class for iOS, based on Three20
Objective-C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Classes
ios-toast.xcodeproj
lib
.gitignore
.gitmodules
README.mdown
close.png
close.psd
close@2x.png
close_selected.png
close_selected@2x.png
ios_toast-Info.plist
ios_toast_Prefix.pch
main.m
screenshot1.png
screenshot2.png

README.mdown

ios-toast

ios-toast is a library that is meant to replicate the toast functionality of Google's Android platform on iOS. Presently the UIAlertView is the only option for displaying notifications to the user, but this is disruptive and requires the user to click "OK" or some other button.

Adding to your project

ios-toast is dependent on Facebook's Three20. I have added three20 as a dependent submodule. If you haven't installed three20 into your project already, see http://three20.info . ios-toast also depends on a style being added to the global style sheet, found in ToastStyle.m. Make sure you copy this to your global style sheet if you have already defined it. I recommend ToastManager be implemented as a singleton or static class.

What it looks like

example toast1 example toast2

Other options

toast-notifications: http://code.google.com/p/toast-notifications-ios/

License

The same Apache license as Three20. Have fun.

Something went wrong with that request. Please try again.