mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-12-22 17:30:15 +00:00
14 lines
519 B
Objective-C
14 lines
519 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface NameFormatter : 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
|