Conforms to NSObject
Declared in GSAd.h

Overview

A protocol that each ad model implements.

Tasks

  •   delegate

    The delegate that will be receive all ad notification messages. This delegate is also responsible for providing a view controller that the ad will be displayed from.

    property required method
  • – isAdReady

    A BOOL indicating whether an ad has been fetched and is ready to be displayed.

    required method
  • – fetch

    Attempts to fetch a new ad. This should only be called if there is not already a valid ad ready to be displayed.

    required method

Properties

delegate

The delegate that will be receive all ad notification messages. This delegate is also responsible for providing a view controller that the ad will be displayed from.

@property (nonatomic, retain) id<> delegate

Declared In

GSAd.h

Instance Methods

fetch

Attempts to fetch a new ad. This should only be called if there is not already a valid ad ready to be displayed.

- (void)fetch

Declared In

GSAd.h

isAdReady

A BOOL indicating whether an ad has been fetched and is ready to be displayed.

- (BOOL)isAdReady

Return Value

a BOOL indicating whether or not the ad is ready to be displayed

Declared In

GSAd.h