NSObject(AWSFMDatabasePoolDelegate)
@interface NSObject (AWSFMDatabasePoolDelegate)
FMDatabasePool delegate category
This is a category that defines the protocol for the FMDatabasePool delegate
-
Asks the delegate whether database should be added to the pool.
Declaration
Objective-C
- (BOOL)databasePool:(AWSFMDatabasePool *)pool shouldAddDatabaseToPool:(AWSFMDatabase *)database;Swift
func databasePool(_ pool: AWSFMDatabasePool!, shouldAddDatabaseToPool database: AWSFMDatabase!) -> BoolParameters
poolThe
FMDatabasePoolobject.databaseThe
FMDatabaseobject.Return Value
YESif it should add database to pool;NOif not. -
Tells the delegate that database was added to the pool.
Declaration
Objective-C
- (void)databasePool:(AWSFMDatabasePool *)pool didAddDatabase:(AWSFMDatabase *)database;Swift
func databasePool(_ pool: AWSFMDatabasePool!, didAdd database: AWSFMDatabase!)Parameters
poolThe
FMDatabasePoolobject.databaseThe
FMDatabaseobject.
View on GitHub
Install in Dash
NSObject(AWSFMDatabasePoolDelegate) Category Reference