KPNotification Class Reference

Inherits from NSObject
Declared in KPNotification.h
KPNotification.m

Overview

Use the KPNotification class to display an unobtrusive view to notify your users they have received something such as a reward.

Accessing Notification Properties

  title

The title of the notification.

@property (strong, nonatomic) NSString *title

Discussion

The title of the notification.

Declared In

KPNotification.h

  message

The message of the notification.

@property (strong, nonatomic) NSString *message

Discussion

The message of the notification.

Declared In

KPNotification.h

  gravity

The gravity of the notification.

@property (assign, nonatomic) KPGravity gravity

Discussion

The gravity of the notification.

Dictacts the position that the notification gets displayed on the screen.

Declared In

KPNotification.h

  icon

The icon of the notification.

@property (strong, nonatomic) UIImage *icon

Discussion

The icon of the notification.

Declared In

KPNotification.h

Setting and Getting the Delegate

  delegate

The delegate of the Notification object.

@property (assign, nonatomic) id<KPNotificationDelegate> delegate

Discussion

The delegate of the Notification object.

Declared In

KPNotification.h