_BMPPersistentArchive
@interface _BMPPersistentArchive : NSObject
This class provides an abstraction to access the persistent data stored as key/value pairs in a single file on disk. Each instance of a _BMPPersistentArchive is associated with a single archive file and can be used to read and write its data. The _BMPPersistentArchive takes care of reading from and writing to disk internally and transparent to the object which is using the _BMPPersistentArchive.
-
Undocumented
Declaration
Objective-C
@property (nonatomic, nonnull, strong, readonly) NSURL *archiveURL -
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE; -
Unavailable
Undocumented
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE; -
Undocumented
Declaration
Objective-C
- (instancetype)initWithURL:(NSURL *)archiveUrl NS_DESIGNATED_INITIALIZER; -
Undocumented
Declaration
Objective-C
- (BOOL)storeBoolValue:(BOOL)value forKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (BOOL)storeDateValue:(NSDate *)value forKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (BOOL)storeDoubleValue:(double)value forKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (BOOL)storeStringValue:(NSString *)value forKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (BOOL)storeNumberValue:(NSNumber *)value forKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (nullable NSNumber *)numberValueForKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (nullable NSString *)stringValueForKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (double)doubleValueForKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (nullable NSDate *)dateValueForKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (BOOL)boolValueForKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (BOOL)removeValueForKey:(NSString *)key; -
Undocumented
Declaration
Objective-C
- (void)clear; -
Undocumented
Declaration
Objective-C
- (void)overwriteFromArchive:(_BMPPersistentArchive *)otherArchive;
_BMPPersistentArchive Class Reference