• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Works in PB yet not in Stand alone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Works in PB yet not in Stand alone
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: BSD sockets and Cocoa
  • Next by Date: Re: Works in PB yet not in Stand alone
  • Previous by thread: Re: BSD sockets and Cocoa
  • Next by thread: Re: Works in PB yet not in Stand alone
  • Index(es):
    • Date
    • Thread