PXObjectPoolDelegate Protocol Reference
| Conforms to | NSObject |
| Declared in | PXObjectPool.h |
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
required methodnilif you’d like the pool to instantiate the object with the default consructor.
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)typeDeclared In
PXObjectPool.h