#import <Cocoa/Cocoa.h>

#define defaults [NSUserDefaults standardUserDefaults]


@interface NSUserDefaults (Extensions) 

- (void) setSize: (NSSize) size forKey: (NSString*) key;
- (NSSize) sizeForKey: (NSString*) key;

- (void) setPoint: (NSPoint) point forKey: (NSString*) key;
- (NSPoint) pointForKey: (NSString*) key;

- (void) setRect: (NSRect) rect forKey: (NSString*) key;
- (NSRect) rectForKey: (NSString*) key;

@end