ResKnife/Cocoa/Classes/AttributesFormatter.h
2001-10-19 19:41:13 +00:00

14 lines
525 B
Objective-C

#import <Foundation/Foundation.h>
@interface AttributesFormatter : NSFormatter
{
}
- (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