RGToast Class Reference
Inherits from | NSObject |
Declared in | RGToast.h RGToast.m |
Overview
RGToast provides a toast through the UI for users to see a temporary message shown on the screen. Inspiration for RGToast is taken from both Matthias Tretter’s MTStatusBarOverlay and Android’s Toast mechanism.
RGToast currently only shows a toast as an overlay at the bottom of the screen.
See the project here: RGToast See the sample project here: RGToastSample
Tasks
Properties
Creation Methods
-
+ makeToast:
Creates and returns an RGToast object with the given message and a
RGToastViewDurationShort
duration. -
+ makeToast:duration:
Creates and returns an RGToast object with the given message and duration.
Usage Methods
-
– show
An instance method to show this RGToast in the UI.
Properties
Class Methods
makeToast:
Creates and returns an RGToast object with the given message and a RGToastViewDurationShort
duration.
+ (RGToast *)makeToast:(NSString *)message
Parameters
- message
The message to be shown in the toast.
Return Value
A new RGToast object that can be shown.
Discussion
Creates and returns an RGToast object with the given message and a RGToastViewDurationShort
duration.
Declared In
RGToast.h