//
//  JDUserDefaults.h
//  JasonDevelop
//
//  Created by Jason Lee on 2/4/15.
//  Copyright (c) 2015 JasonDevelop. All rights reserved.
//

#import "JDObject.h"

@interface JDUserDefaults : JDObject <NSCoding>

+ (JDUserDefaults *)defaults;

- (id)objectForKey:(id)aKey;
- (void)setObject:(id)object forKey:(id<NSCopying>)aKey;

- (void)setInteger:(NSInteger)value forKey:(id<NSCopying>)aKey;
- (NSInteger)integerForKey:(id)aKey;

- (void)setBool:(BOOL)value forKey:(id<NSCopying>)aKey;
- (BOOL)boolForKey:(id)aKey;

- (void)synchronize;
- (void)syncronizeObject:(id)object forKey:(id<NSCopying>)aKey;

@end
