ResKnife/Cocoa/Classes/NameFormatter.h
2002-02-23 03:40:24 +00:00

15 lines
547 B
Objective-C

#import <Cocoa/Cocoa.h>
@interface NameFormatter : NSFormatter
{
IBOutlet NSOutlineView *outlineView;
}
- (NSString *)stringForObjectValue:(id)obj;
- (NSAttributedString *)attributedStringForObjectValue:(id)obj withDefaultAttributes:(NSDictionary *)attrs;
- (NSString *)editingStringForObjectValue:(id)obj;
- (BOOL)getObjectValue:(id *)obj forString:(NSString *)string errorDescription:(NSString **)error;
- (BOOL)isPartialStringValid:(NSString *)partialString newEditingString:(NSString **)newString errorDescription:(NSString **)error;
@end