About
The RHMessageBubble provides a simple way to display small chunks of information to the user. There are several different types of bubbles containing an image, an activity indicator or just plain text.
Useage
All you need to do is to include these two files into your project:
- Source/RHMessageBubble.h
- Source/RHMessageBubble.m
and include the header file in your classes where you want to use the RHMessageBubble library.
Now use your message bubbles like this:
[RHMessageBubble bubbleWithString:@"Hello World!" toView:self.view forSeconds:1.0f];
or
// adding a bubble with an activity indicator [RHMessageBubble bubbleWithSpinnerAndString:@"Please wait" toView:self.view]; // perform background loading or whatever [self loadSomething]; // remove the bubble from the view after the action has been performed [RHMessageBubble removeBubbleFromView:self.view];
For further information check out the demo project on GitHub.