//
//  XTPrefsItem_private.h
//  XTads
//
//  Created by Rune Berg on 12/04/2018.
//  Copyright © 2018 Rune Berg. All rights reserved.
//

#import "XTPrefsItem.h"


@interface XTPrefsItem ()

@property id defaultValue;
@property XTPrefsValueTransformer *valueTransformer;
@property NSString *userDefaultsKey;

- (void)internalPersist:(id)persistedValue;

- (id)internalRestoreFromPersisted;

- (BOOL)valueExistsForKey:(NSString *)key inUserDefaults:(NSUserDefaults *)userDefaults;

@end
