-finderAttributesAtPath:error:
Returns FinderInfo attributes at the specified path.
-resourceAttributesAtPath:error:
Returns ResourceFork attributes at the specified path.

finderAttributesAtPath:error:


Returns FinderInfo attributes at the specified path.

See Also:
getxattr(2)
- (NSDictionary *)finderAttributesAtPath:(NSString *)path error:(NSError **)error;
Parameters
path
The path to the item.
error
Should be filled with a POSIX error in case of failure.
Return Value

A dictionary of FinderInfo attributes or nil on error.

Discussion

Returns a dictionary of FinderInfo attributes at the given path. Return nil or a dictionary with no relevant keys if there is no FinderInfo data. If a custom icon is desired, then use Finder flags with the kHasCustomIcon bit set (preferred) and/or the kGMUserFileSystemCustonIconDataKey, and don't forget to implement resourceAttributesAtPath:error:.
The following keys are currently supported (unknown keys are ignored):


resourceAttributesAtPath:error:


Returns ResourceFork attributes at the specified path.

See Also:
getxattr(2)
- (NSDictionary *)resourceAttributesAtPath:(NSString *)path error:(NSError **)error; 
Parameters
path
The path to the item.
error
Should be filled with a POSIX error in case of failure.
Return Value

A dictionary of ResourceFork attributes or nil on error.

Discussion

Return nil or a dictionary with no relevant keys if there is no resource fork data.
The following keys are currently supported (unknown keys are ignored):

Last Updated: Monday, November 17, 2008