Enumeration

NSURLRelationship

Constants indicating the relationship between a directory and an item.

Declaration

typedef enum NSURLRelationship : NSInteger {
    ...
} NSURLRelationship;

Topics

URL Relationships

NSURLRelationshipContains

The directory contains the specified item.

NSURLRelationshipSame

The directory and the item are the same. This relationship occurs when the value of the NSURLFileResourceIdentifierKey is the same for the directory and item.

NSURLRelationshipOther

The directory does not contain the item and is not the same as the item.

See Also

Getting the Relationship Between Items

- getRelationship:ofDirectoryAtURL:toItemAtURL:error:

Determines the type of relationship that exists between a directory and an item.

- getRelationship:ofDirectory:inDomain:toItemAtURL:error:

Determines the type of relationship that exists between a system directory and the specified item.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software