How to resolve issues with fileAttributesAtPath warning?
ios, objective-c, warnings
Solution
Use `attributesOfItemAtPath:error:` instead.
Problem
Now I use this code: ``` NSDictionary* attr = [[NSFileManager defaultManager] fileAttributesAtPath:file traverseLink:YES]; ``` and get warning: ``` 'fileAttributesAtPath:traverseLink:' is deprecated ``` Who knows what to use instead? Thanks!