Works in PB yet not in Stand alone
Works in PB yet not in Stand alone
- Subject: Works in PB yet not in Stand alone
- From: Craig Bakalian <email@hidden>
- Date: Mon, 14 Apr 2003 06:28:25 -0400
Hi,
I have isolated a bit of code that works in PB but not in my stand
alone, or when I double click the product app. What is wrong with
this->
NSString *file;
NSFileManager *fileManager = [NSFileManager defaultManager];
NSDirectoryEnumerator *enumerator = [fileManager enumeratorAtPath:
@"./"];
while(nil != (file = [enumerator nextObject]))
{
if ([[file pathExtension] isEqualToString:@"tfcy"])
{
//NSData *data = [NSData dataWithContentsOfFile: file];
//TestDocument *test = [NSUnarchiver
unarchiveObjectWithData: data];
//NSString *nameNoExt = [file
stringByDeletingPathExtension];
//[activeTests setObject: test forKey: nameNoExt];
}
}
Notice that I have commented out the function calls inside the while
loop. I'll keep plugging away at this.
Thanks in advance.
Craig Bakalian
www.eThinkingCap.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.