An Objective-C class that adds Android-style toast notifications to iOS.
UIToast
is shamefully inspired on Android toasts. If you can I would recommend on not using toasts on iOS. If you don't have a choice (like me when I wrote this pod) this might just be the perfect lib for you.
Usage is extremely simple and if you use it with Swift you'll think you're reading Android code (except for the lack of context
s and semicolons :P).
NSString *text = @"Hello, UIToast!";
NSTimeInterval duration = 3.0;
[[UIToast makeText:text duration:duration] show];
or simply
[[UIToast makeText:@"Woah, that was easy!"] show];
Feel free to open feature requests, issues and PRs. For now there is a small road map:
UIToast
s