RobotUIKit API
Public Member Functions
RUIAchievementEarnedViewController Class Reference

View controller for notifying a user that they earned an achievement. More...

#import <RUIAchievementEarnedViewController.h>

Inheritance diagram for RUIAchievementEarnedViewController:
RUIModalLayerViewController

List of all members.

Public Member Functions

(void) - setAchievement:
(void) - displayInView:

Detailed Description

This will controller will animate an overlay in at the top of the screen notifying a user that they earned an achievement. Call the setAchievement method then displayInView. You can release the view controller at this point, it will automatically load the achievement image, display the notification and release resources when done.


Member Function Documentation

- (void) displayInView: (UIView *)  view

Display the notification in a view, usually the current fullscreen view

Parameters:
viewthe view to display the notification in
- (void) setAchievement: (RKAchievement *)  achievement

The achievement to display a notification for

Parameters:
achievementthe achievement to display the notification for

The documentation for this class was generated from the following file:
 All Classes Functions Properties