NSObject(FMDatabasePoolDelegate) Category Reference

Declared in FMDatabasePool.h

Overview

FMDatabasePool delegate category

This is a category that defines the protocol for the FMDatabasePool delegate

– databasePool:shouldAddDatabaseToPool:

Asks the delegate whether database should be added to the pool.

- (BOOL)databasePool:(FMDatabasePool *)pool shouldAddDatabaseToPool:(FMDatabase *)database

Parameters

pool

The FMDatabasePool object.

database

The FMDatabase object.

Return Value

YES if it should add database to pool; NO if not.

Discussion

Asks the delegate whether database should be added to the pool.

Declared In

FMDatabasePool.h

– databasePool:didAddDatabase:

Tells the delegate that database was added to the pool.

- (void)databasePool:(FMDatabasePool *)pool didAddDatabase:(FMDatabase *)database

Parameters

pool

The FMDatabasePool object.

database

The FMDatabase object.

Discussion

Tells the delegate that database was added to the pool.

Declared In

FMDatabasePool.h