TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Aug 2016 |
Maintained by Meniny.
MXToast
is an Android like alert view.
#import "MXToast.h"
[[MXToast makeToast:@"Toast with NSString"] show];
// Or:
[MXToast toast:@"Toast with NSString"];
// ---
[MXToast toast:@"Toast with NSString" style:MXToastStyleCenter];
// ---
[[MXToast makeToast:@"You can set duration if you like" duration:5] show];
// Or:
[MXToast toast:@"You can set duration if you like" duration:5];
// ---
[[MXToast makeToast:@"Also delay" delay:0 duration:5] show];
// Or:
[MXToast toast:@"Also delay" delay:0 duration:5];
// ---
[[MXToast makeToastWithFormat:@"%@\nrandom number %zd", self.title, arc4random_uniform(20000)] show];
// Or:
[MXToast toastWithFormat:@"%@\nrandom number %zd", self.title, arc4random_uniform(20000)];