/ALToastView

Android-like toast messages for iOS

Primary LanguageObjective-CMIT LicenseMIT

ALToastView

ALToastView provides Android's Toast message for iOS (Screenshot).

Requires iOS SDK 4.0 or higher

How to use

  • Copy class files into your project
  • Add QuartzCore.framework to your project's linked libraries
  • Import ALToastView.h and call static toastInView:withText: for every new toast message you want to show, e.g in your UIViewController subclass call [ALToastView toastInView:self.view withText:@"Hello ALToastView"];ALToastView

Changes to the original ALToastView from Alex Leutgöb

  • Updated for ARC
  • Only one ToastView is shown at a time (no queue)
  • If a new ToastView is created while another is active, the old will be removed instantly
  • If a new ToastView is created with the same text, the timer will start again