- Declared In:
- SenTestingUtilities.h
Synopsis:
ASSIGN RETAIN
Synopsis:
RETAIN(var,val)
ASSIGN(var,val)
Synopsis:
RELEASE(var)
RELEASE(var)
Synopsis:
NSString *STComposeString(NSString *, ...);
NSString *getScalarDescription(NSValue *left);
- - 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.