If you just want to show a floating message for a little while and fade away, just make a shortcut and simple animation. In this example, the message will be displayed for 1 second and then disappear after 0.3 seconds (and will accept ARC):
- (void)showMessage:(NSString*)message atPoint:(CGPoint)point { const CGFloat fontSize = 24;
Just add this as a method to your root mode.
source share