• 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: Problem with fileAttributesAtPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with fileAttributesAtPath


  • Subject: Re: Problem with fileAttributesAtPath
  • From: Randall Meadows <email@hidden>
  • Date: Mon, 18 Aug 2008 14:27:52 -0600

On Aug 18, 2008, at 1:24 PM, Nicolas Goles wrote:

Hi guys, I am trying to get fileAttributesAtPath using this code: (files
contains the path to the directory that was enumerated )


       while(object = [dirEnumerator nextObject])
       {

           //First We craft the whole path for a single object

NSString *fullPath = [files stringByAppendingString:object];


Try NSString *fullPath = [files stringByAppendingPathComponent:object]; instead.


_______________________________________________

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


References: 
 >Problem with fileAttributesAtPath (From: "Nicolas Goles" <email@hidden>)

  • Prev by Date: Re: Question about respondsToSelector
  • Next by Date: Re: Question about respondsToSelector
  • Previous by thread: Re: Problem with fileAttributesAtPath
  • Next by thread: Question about respondsToSelector
  • Index(es):
    • Date
    • Thread