Code Search for Developers
 
 
  

FoundationAdditions.h from redshed at Krugle


Show FoundationAdditions.h syntax highlighted

/* 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;
- (BOOL)deepCreateDirectoryAtPath:(NSString *)path attributes:(NSDictionary *)attributes;

@end




See more files for this project here

redshed

Code for Mac+WebObjects.

Project homepage: http://sourceforge.net/projects/redshed
Programming language(s): C,Java,Objective C
License: other

  Xmod/
    English.lproj/
      InfoPlist.strings
    Xmod.xcodeproj/
      project.pbxproj
      wolf.mode1
      wolf.pbxuser
    Autocustomize Entity Classes.applescript
    Info.plist
    MethodSwizzle.h
    MethodSwizzle.m
    Xmod.applescript
    Xmod.h
    Xmod.m
    Xmod_Prefix.pch
  ddcli/
    DDCliApplication.h
    DDCliApplication.m
    DDCliParseException.h
    DDCliParseException.m
    DDCliUtil.h
    DDCliUtil.m
    DDCommandLineInterface.h
    DDGetoptLongParser.h
    DDGetoptLongParser.m
  installer/
    Description.plist
    Info.plist
    make_installer.command
  mogenerator.xcodeproj/
    project.pbxproj
    wolf.mode1
    wolf.mode1v3
    wolf.pbxuser
  mogeneratorTestMule/
    English.lproj/
      MainMenu.nib/
        classes.nib
        info.nib
        keyedobjects.nib
      InfoPlist.strings
    MOs/
      ChildMO.h
      ChildMO.m
      HumanMO.h
      HumanMO.m
      ParentMO.h
      ParentMO.m
      _ChildMO.h
      _ChildMO.m
      _HumanMO.h
      _HumanMO.m
      _ParentMO.h
      _ParentMO.m
      include.m
    mogeneratorTestMule.xcodeproj/
      project.pbxproj
      wolf.mode1
      wolf.mode1v3
      wolf.pbxuser
    mogeneratorTestMule_DataModel.xcdatamodel/
      elements
      layout
    Info.plist
    MyBaseClass.h
    MyBaseClass.m
    main.m
    mogenerate.command
    mogeneratorTestMule_AppDelegate.h
    mogeneratorTestMule_AppDelegate.m
    mogeneratorTestMule_Prefix.pch
    version.plist
  FoundationAdditions.h
  FoundationAdditions.m
  human.h.motemplate
  human.m.motemplate
  machine.h.motemplate
  machine.m.motemplate
  mogenerator.m
  mogenerator_Prefix.pch
  nsenumerate.h