source: trunk/macosx/ExpandedPathToPathTransformer.m @ 1125

Last change on this file since 1125 was 1088, checked in by livings124, 15 years ago

quick fix for last commit

File size: 319 bytes
Line 
1
2#import "ExpandedPathToPathTransformer.h"
3
4@implementation ExpandedPathToPathTransformer
5
6+ (Class) transformedValueClass
7{
8    return [NSString class];
9}
10
11+ (BOOL) allowsReverseTransformation
12{
13    return NO;
14}
15
16- (id) transformedValue: (id) value
17{
18    return value == nil ?  nil : [value lastPathComponent];
19}
20
21@end
Note: See TracBrowser for help on using the repository browser.