NSFileManager (SenTestingAdditions)


Declared In:
SenTestingUtilities.h


Category Description

No category description.


Symbolic Constants

Synopsis:

ASSIGN  RETAIN


Macro Definitions

Synopsis:

RETAIN(var,val)
ASSIGN(var,val)

Synopsis:

RELEASE(var)
RELEASE(var)


Functions

Synopsis:

NSString *STComposeString(NSString *, ...);
NSString *getScalarDescription(NSValue *left);


Method Types

- fileExistsAtPathOrLink:

Instance Methods

fileExistsAtPathOrLink:

- (BOOL)fileExistsAtPathOrLink:(NSString *)aPath

This checks to see if the file path in the argument aPath points to an existing file or directory. If it does then this method returns YES; otherwise NO is returned (i.e. aPath is nil, empty or does not exists). This method follows links.

We are using this method in place of -fileExistsAtPath: in NSFileManager since that method does not follow links even though the documentation says it does. This was the case with Xcode on Jaguar says William Swats as of 22-Oct-2003.


CVS Version 1.6 Copyright ©2005 by Sente SA. All Rights Reserved. Fri Apr 01 13:49:07 2005