defaultDirectoryURL()
Returns the location of the directory that contains the persistent stores.
Declaration
class func defaultDirectoryURL() -> URLReturn Value
An NSURL that references the directory in which the persistent store(s) will be located or are currently located.
Discussion
This method returns a platform-dependent NSURL at which the persistent store(s) will be located or are currently located. This method can be overridden in a subclass of NSPersistentContainer.