/WToast

Info messages for iOS inspired by Android Toast object

Primary LanguageObjective-CThe UnlicenseUnlicense

WToast is a simple info box for iOS inspired by Android Toast.

Requirements

iOS 7.0 and higher.

Features

  • Show toast object with custom text
  • Show toast object with custom image

Usage

Show toast with text

[WToast showWithText:@"This is a short test."];
[WToast showWithText:@"This is a long test." duration:kWTLong];
[WToast showWithText:@"This is a long test." duration:kWTLong roundedCorners:YES];

Show toast with image

[WToast showWithImage:[UIImage imageNamed:@"toast-image"]];
[WToast showWithImage:[UIImage imageNamed:@"toast-image"] duration:10];
[WToast showWithImage:[UIImage imageNamed:@"toast-image"] duration:12 roundedCorners:NO];

Demo

WToast demo

License

This tiny library is public domain. If you like you can mention Brite Apps for it.