Skip to content

iThinker/RTToastMessage

Repository files navigation

RTToastMessage

RTToastMessage is a quick and easy way to show toast messages. It's a queue based FIFO toast. It supports various customizations:

  • Toast image
  • Font
  • Background color
  • Text color
  • Text shadow color and offset
  • Different transitions from one toast to another
  • Toast duration

RTToastMessage

Usage

Show a simple toast message

[RTToastManager sharedManager] showMessageWithText:@"Simple toast"];

Configure a toast

RTToastMessage *message = [[RTToastMessage alloc] initWithText:@"Dog"];
    message.image = [UIImage imageNamed:@"dog.png"];
    message.backgroundColor = [UIColor whiteColor];
    message.textColor = [UIColor darkTextColor];
    message.transitionType = RTToastMessageTransitionFlipFromLeft;
    [[RTToastManager sharedManager] showMessage:message];

License

This code is distributed under the terms and conditions of the MIT license.

About

Yet another toast messages presenter for iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published