Re: Problem with fileAttributesAtPath
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