Conforms to NSObject
Declared in PXObjectPool.h

Overview

An optional protocol, used to customize the behaviour of a PXObjectPool.

Tasks

  • – objectPool:newObjectForType:

    A PXObjectPool will automatically call this method when it needs to allocate a new object. You should return the object you’d like to pass back to the user, or nil if you’d like the pool to instantiate the object with the default consructor.

    required method

Instance Methods

objectPool:newObjectForType:

A PXObjectPool will automatically call this method when it needs to allocate a new object. You should return the object you’d like to pass back to the user, or nil if you’d like the pool to instantiate the object with the default consructor.

- (id)objectPool:(PXObjectPool *)objectPool newObjectForType:(Class)type

Declared In

PXObjectPool.h