Returns an array of URLs for the specified common directory in the requested domains.
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
An array of
NSURL objects identifying the requested directories. The directories are ordered according to the order of the domain mask constants, with items in the user domain first and items in the system domain last.
This method is intended to locate known and common directories in the system. For example, setting the directory to
NSApplication, will return the Applications directories in the requested domain. There are a number of common directories available in the
NSApplication, and many more.