That documentation is incorrect and is scheduled to be corrected.
-attribtuesOfItemAtPath:error: will never automatically resolve symlinks, and
that will never change.
-Kevin Perry
On May 28, 2010, at 8:17 AM, Charles Srstka wrote:
> On May 28, 2010, at 10:01 AM, Tito Ciuro wrote:
>
>> The ol
Thanks Charles!
-- Tito
On May 28, 2010, at 5:17 PM, Charles Srstka wrote:
> On May 28, 2010, at 10:01 AM, Tito Ciuro wrote:
>
>> The old statement traverses the link:
>>
>> NSDictionary* attr = [[NSFileManager defaultManager]
>> fileAttributesAtPath:file traverseLink:YES];
>>
>> The pr
On May 28, 2010, at 10:01 AM, Tito Ciuro wrote:
> The old statement traverses the link:
>
> NSDictionary* attr = [[NSFileManager defaultManager]
> fileAttributesAtPath:file traverseLink:YES];
>
> The problem is that the header states that 'attributesOfItemAtPath:error:'
> that it's a rep
Hello,
I'm trying to replace the following deprecated NSFileManager method:
> /* attributesOfItemAtPath:error: returns an NSDictionary of key/value pairs
> containing the attributes of the item (file, directory, symlink, etc.) at the
> path in question. If this method returns 'nil', an NSError