I am using the [NSFileManager attributesOfItemAtPath:error:] function to get the attributes of a file. But sometimes my application processor reaches 100%. I use this function for files with a size of 100 thousand (About).
An example of my application:
2128 -[NSFileManager attributesOfItemAtPath:error:] 2128 +[NSFileAttributes _attributesAtPath:partialReturn:filterResourceFork:error:] 2123 _attributesAtPath 2072 listxattr 29 realloc 18 realloc 11 szone_size 22 _attributesAtPath 5 _sysenter_trap
Can anyone help me out?
objective-c cocoa nsfilemanager macos sysenter
Parag Bafna May 14 '12 at 9:12 a.m. 2012-05-14 09:12
source share