• 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: enumeratorAtPath - path string issue???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enumeratorAtPath - path string issue???


  • Subject: Re: enumeratorAtPath - path string issue???
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Thu, 5 Jun 2008 18:22:30 -0500

On Thu, Jun 5, 2008 at 6:14 PM, Rail Jon Rogut <email@hidden> wrote:
> Okay.. it has something to do with the NSString in the function call...
>
> By creating a new NSString (szTest) with the same path it works okay.

Are you sure there aren't extra spaces that worked their way in
somehow? With strange problems like this, I always like to use
deliminaters on my logging output. For example,

NSLog(@"searchPath = |%@|", searchPath);

Or even check that the length of the path string is what you expect.
Perhaps non-printable characters are working their way in.

NSLog(@"searchPath(%d) = |%@|", [searchPath length], searchPath);
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: enumeratorAtPath - path string issue???
      • From: Rail Jon Rogut <email@hidden>
References: 
 >enumeratorAtPath - path string issue??? (From: Rail Jon Rogut <email@hidden>)
 >Re: enumeratorAtPath - path string issue??? (From: Andy Lee <email@hidden>)
 >Re: enumeratorAtPath - path string issue??? (From: Rail Jon Rogut <email@hidden>)
 >Re: enumeratorAtPath - path string issue??? (From: Rail Jon Rogut <email@hidden>)

  • Prev by Date: Re: enumeratorAtPath - path string issue???
  • Next by Date: Re: enumeratorAtPath - path string issue???
  • Previous by thread: Re: enumeratorAtPath - path string issue???
  • Next by thread: Re: enumeratorAtPath - path string issue???
  • Index(es):
    • Date
    • Thread