MXToast 3.0.1

MXToast 3.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Aug 2016

Maintained by Meniny.



MXToast 3.0.1

  • By
  • Elias Abel

MXToast-in-Objective-C

MXToast is an Android like alert view.

Usage

#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)];