POBAdSize Class Reference

Inherits from NSObject
Declared in POBDataTypes.h

Overview

Defines the size of a banner ad.

– initWithCGSize:

Initializes size with a given CGSize

- (instancetype)initWithCGSize:(CGSize)size

Parameters

size

A CGSize to initialize POBAdSize with

Return Value

instance of POBAdSize

Declared In

POBDataTypes.h

– cgSize

Returns a CGSize respective to this size

- (CGSize)cgSize

Return Value

CGSize

Declared In

POBDataTypes.h

– isZero

Tells whether the size is CGSizeZero

- (BOOL)isZero

Return Value

YES, if the size is equal to CGSizeZero. NO, if the size is not equal to CGSizeZero.

Declared In

POBDataTypes.h

– isMREC

Boolean value indicating whether the size is of MREC ad or not.

- (BOOL)isMREC

Discussion

Boolean value indicating whether the size is of MREC ad or not.

Declared In

POBDataTypes.h