mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
450 B
C
16 lines
450 B
C
|
12 years ago
|
#import <Foundation/Foundation.h>
|
||
|
|
|
||
|
|
@interface PropertyListPreferences : NSObject {
|
||
|
|
@private NSMutableDictionary* dictionary;
|
||
|
|
@private NSString* plistName;
|
||
|
|
}
|
||
|
|
|
||
|
|
+(PropertyListPreferences*) propertyListPreferencesWithName:(NSString*)name;
|
||
|
|
|
||
|
|
-(id) tryGetValueForKey:(NSString*)key;
|
||
|
|
-(void) setValueForKey:(NSString*)key toValue:(id)value;
|
||
|
|
-(id) adjustAndTryGetNewValueForKey:(NSString*)key afterAdjuster:(id (^)(id oldValue))adjuster;
|
||
|
|
-(void) clear;
|
||
|
|
|
||
|
|
@end
|