RBSQLiteCenter Class Reference

Inherits from NSObject
Declared in RBSQLiteCenter.h

Overview

Centrally manages low level access to SQLite databases.

+ shared

The shared singleton RBSQLiteCenter.

+ (nullable RBSQLiteCenter *)shared

Declared In

RBSQLiteCenter.h

– registerVFS:setAsDefaultVFS:

<#Description#>

- (BOOL)registerVFS:(nonnull RBSQLiteVFS *)vfs setAsDefaultVFS:(BOOL)setAsDefaultVFS

Parameters

vfs

<#vfs description#>

setAsDefaultVFS

<#setAsDefaultVFS description#>

Return Value

<#return value description#>

Declared In

RBSQLiteCenter.h

– deregisterVFSWithName:

<#Description#>

- (BOOL)deregisterVFSWithName:(nonnull NSString *)name

Parameters

name

<#name description#>

Return Value

<#return value description#>

Declared In

RBSQLiteCenter.h

– vfsWithName:

<#Description#>

- (nonnull RBSQLiteVFS *)vfsWithName:(nonnull NSString *)name

Parameters

name

<#name description#>

Return Value

<#return value description#>

Declared In

RBSQLiteCenter.h

– stringFromDate:

Converts an NSDate into an ISO 8601 formatted string (yyyy-MM-ddTHH:mm:ssZ).

- (nonnull NSString *)stringFromDate:(nonnull NSDate *)date

Parameters

date

The date.

Return Value

An ISO 8601 formatted date.

Declared In

RBSQLiteCenter.h

– dateFromString:

Converts an ISO 8601 formatted string into an NSDate

- (nonnull NSDate *)dateFromString:(nonnull NSString *)string

Parameters

string

An ISO 8601 formatted string (yyyy-MM-ddTHH:mm:ssZ).

Return Value

The NSDate

Declared In

RBSQLiteCenter.h

– stringFromNumber:

Converts a NSNumber into its string representation.

- (nonnull NSString *)stringFromNumber:(nonnull NSNumber *)number

Parameters

number

The number.

Return Value

The string representation.

Declared In

RBSQLiteCenter.h

– numberFromString:

Converts a decimal formatted number string into an `NSNumber'.

- (nonnull NSNumber *)numberFromString:(nonnull NSString *)string

Parameters

string

The decimal formatted string.

Return Value

The number.

Declared In

RBSQLiteCenter.h