KPPoptartDelegate Protocol Reference

Conforms to NSObject
Declared in KPPoptart.h

Overview

The KPPoptartDelegate protocol defines the methods that a delegate of KPPoptart should implement. This delegate implements callbacks to actions such as when a Poptart is shown or dismissed.

– willPresentPoptart:

Tells the delegate a Poptart will be presented.

- (void)willPresentPoptart:(KPPoptart *)poptart

Parameters

poptart

The poptart that will be presented.

Discussion

Tells the delegate a Poptart will be presented.

Declared In

KPPoptart.h

– didDismissPoptart:

Tells the delegate a Poptart was dismissed.

- (void)didDismissPoptart:(KPPoptart *)poptart

Parameters

poptart

The poptart that was dismissed.

Discussion

Tells the delegate a Poptart was dismissed.

Declared In

KPPoptart.h