Index

RBSQLiteCenter.h

Classes


RBSQLiteCenter

Centrally manages low level access to SQLite databases.

Properties

The shared singleton RBSQLiteCenter.
public shared RBSQLiteCenter { get }

Functions

<#Description#>
@param vfs : <#vfs description#>
@param setAsDefaultVFS : <#setAsDefaultVFS description#>
@returns <#return value description#>
- (BOOL)registerVFS:(nonnull RBSQLiteVFS *)vfs setAsDefaultVFS:(BOOL)setAsDefaultVFS;

<#Description#>
@param name : <#name description#>
@returns <#return value description#>
- (BOOL)deregisterVFSWithName:(nonnull NSString *)name;

<#Description#>
@param name : <#name description#>
@returns <#return value description#>
- (nonnull RBSQLiteVFS *)vfsWithName:(nonnull NSString *)name;

Converts an NSDate into an ISO 8601 formatted string (yyyy-MM-ddTHH:mm:ssZ).
@param date : The date.
@returns An ISO 8601 formatted date.
- (nonnull NSString *)stringFromDate:(nonnull NSDate *)date;

Converts an ISO 8601 formatted string into an NSDate
@param string : An ISO 8601 formatted string (yyyy-MM-ddTHH:mm:ssZ).
@returns The NSDate
- (nullable NSDate *)dateFromString:(nonnull NSString *)string;

Converts a NSNumber into its string representation.
@param number : The number.
@returns The string representation.
- (nonnull NSString *)stringFromNumber:(nonnull NSNumber *)number;

Converts a decimal formatted number string into an **NSNumber'.
@param string : The decimal formatted string.
@returns The number.
- (nullable NSNumber *)numberFromString:(nonnull NSString *)string;