Instance Property

regularFile

This property contains a boolean value that indicates whether the file wrapper object is a regular-file.

Declaration

@property(readonly, getter=isRegularFile) BOOL regularFile;

Discussion

This property contains YES when the file wrapper object is a regular-file wrapper, otherwise it contains NO. Invocations of readFromURL:options:error: may change the value of this property if the type of the file on disk has changed.

See Also

Querying File Wrappers

directory

This property contains a boolean value indicating whether the file wrapper is a directory file wrapper.

symbolicLink

A boolean that indicates whether the file wrapper object is a symbolic-link file wrapper.

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