X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=NSString%2BFixFilename.h;fp=NSString%2BFixFilename.h;h=0000000000000000000000000000000000000000;hp=b3e318f0b3bbf2fec066b8fb0a24c6be57da7d2c;hb=0064c1fbff36795885a9724081af2a17d83c20a3;hpb=56d825ba259066d847a9fc3f9c8c0c0a362a1507 diff --git a/NSString+FixFilename.h b/NSString+FixFilename.h deleted file mode 100644 index b3e318f..0000000 --- a/NSString+FixFilename.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// NSString+FixFilename.h -// Enjoyable -// -// Created by Joe Wreschnig on 3/7/13. -// -// - -#import - -@interface NSCharacterSet (FixFilename) - -+ (NSCharacterSet *)invalidPathComponentCharacterSet; - // A character set containing the characters that are invalid to - // use in path components on common filesystems. - -@end - -@interface NSString (FixFilename) - -- (NSString *)stringByFixingPathComponent; - // Does various operations to make this string suitable for use as - // a single path component of a normal filename. Removes - // characters that are invalid. Strips whitespace from the - // beginning and end. If the first character is a . or a -, a _ is - // added to the front. - -@end