• 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
Re: EXC_BAD_ACCESS in an strange place
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_ACCESS in an strange place


  • Subject: Re: EXC_BAD_ACCESS in an strange place
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 23 Aug 2002 19:43:17 +0200

On Friday, August 23, 2002, at 07:13 , Clark Mueller wrote:

None of this would be a problem if I could find a way to make an NSDirectoryEnumerator return full path names, and not file names representing the contents. Any ideas there, anyone?

What's the problem?

id en=[filemanager enumeratorAtPath:path];
while (s=[en nextObject]) {
s=[path stringByAppendingPathComponent:s];
...
}

You might quite easily prepare an NSFileManager/NSDirectoryEnumerator extension which would encapsulate this, but I think it is not worth the effort, if this is the only special service you want.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: EXC_BAD_ACCESS in an strange place
      • From: Clark Mueller <email@hidden>
References: 
 >Re: EXC_BAD_ACCESS in an strange place (From: Clark Mueller <email@hidden>)

  • Prev by Date: Re: Making a NSFormatter receive special keys
  • Next by Date: Reminder: Problem subclassing NSDocumentController
  • Previous by thread: Re: EXC_BAD_ACCESS in an strange place
  • Next by thread: Re: EXC_BAD_ACCESS in an strange place
  • Index(es):
    • Date
    • Thread