ftp.nice.ch/Attic/openStep/tools/workspace/TheShelf.0.3.3.sd.tgz#/TheShelf.0.3.3.sd/Source/NSUserDefaults+MiscColorExtensions.h

This is NSUserDefaults+MiscColorExtensions.h in view mode; [Download] [Up]

/*************************************************************************
 * File Name: NSUserDefaults+MiscColorExtensions.h
 * Version  : 0.0 alpha
 * Date     : Tue 02-Sep-1997
 *************************************************************************
 *  COPYWHAT (C) 1997 by Tomi Engel
 *
 * This notice may not be removed from this source code.
 * The use and distribution of this software is governed by the
 * terms of the MiscKit license agreement.  Refer to the license
 * document included with the MiscKit distribution for the terms.
 *                    ALL RIGHTS RESERVED
 *
 *************************************************************************
 * Notes      :
 * Bugs       :
 * Author(s)  : tsengel
 * Last update: $Date: 1997/09/02 12:10:22 $
 * History    : $Log: NSUserDefaults+MiscColorExtensions.h,v $
 * History    : Revision 1.1  1997/09/02 12:10:22  tsengel
 * History    : Create category to add more convenience methods
 * History    :
 *************************************************************************/

#import <AppKit/AppKit.h>

@interface NSUserDefaults (MiscColorExtensions)

- (void)setColor:(NSColor *)aColor forKey:(NSString *)defaultName;
- (NSColor *)colorForKey:(NSString *)defaultName;

@end


@interface NSDictionary (MiscColorExtensions)

- (NSColor *)colorForKey:(id)aKey;

@end


@interface NSMutableDictionary (MiscColorExtensions)

- (void)setColor:(NSColor *)aColor forKey:(id)aKey;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.