Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (29 sloc) 1.4 kb
/* FoundationAdditions.h created by lindberg on Mon 20-Dec-1999 */
#import <Foundation/NSArray.h>
#import <Foundation/NSString.h>
#import <Foundation/NSFileManager.h>
extern void ErrVPrintf(NSString *format, va_list arguments);
extern void ErrPrintf(NSString *format, ...);
extern void VPrintf(NSString *format, va_list arguments);
extern void Printf(NSString *format, ...);
/* Various Foundation methods for use by templates and/or EOGenerator */
@interface NSArray (FoundationAdditions)
- (NSArray *)reversedArray;
// Key-value additions (i.e. @reversedArray, @sortedNameArray, etc. keys)
- (id)computeReversedArrayForKey:(NSString *)key;
- (id)computeSortedNameArrayForKey:(NSString *)key;
- (id)computeSortedStringArrayForKey:(NSString *)key;
- (NSArray *)arrayByMakingObjectsPerformSelector:(SEL)aSelector;
- (NSArray *)arrayByMakingObjectsPerformSelector:(SEL)aSelector withObject:anObject;
- (NSArray *)arrayByMakingObjectsPerformSelector:(SEL)aSelector withObject:anObject withObject:anObject2;
@end
@interface NSString (FoundationAdditions)
- (NSString *)initialCapitalString;
- (NSString *)beautifyString;
@end
@interface NSFileManager (FoundationAdditions)
- (BOOL)directoryExistsAtPath:(NSString *)path;
- (BOOL)regularFileExistsAtPath:(NSString *)path;
- (NSString *)findFile:(NSString *)filename inSearchPath:(NSArray *)paths;
- (void)touchPath:(NSString *)filePath;
@end
Jump to Line
Something went wrong with that request. Please try again.