RGLDocReaderDocumentsDatabase
Objective-C
@interface RGLDocReaderDocumentsDatabase : NSObject
Swift
class DocReaderDocumentsDatabase : NSObject
Interface contains properties to get the information about the database
-
An ID of the database, e.g. BLR, RUS.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSString *databaseID;
Swift
var databaseID: String? { get }
-
A version of the database
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSString *version;
Swift
var version: String? { get }
-
A date when the database was created
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSString *date;
Swift
var date: String? { get }
-
A list of supported documents in the database
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSString *databaseDescription;
Swift
var databaseDescription: String? { get }
-
A number of countries included in the database
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger countriesNumber;
Swift
var countriesNumber: Int { get }
-
A number of documents included in the database
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger documentsNumber;
Swift
var documentsNumber: Int { get }
-
Database size. In bytes. Available for database update check.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSNumber *size;
Swift
var size: NSNumber? { get }
-
Undocumented
Declaration
Objective-C
- (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;
Swift
init(json: [AnyHashable : Any])
-
Undocumented
Declaration
Objective-C
+ (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;
Swift
class func initWithJSON(_ json: [AnyHashable : Any]) -> Self