Contents

persistentStore(for:)

Returns the persistent store for the specified file URL.

Declaration

func persistentStore(for URL: URL) -> NSPersistentStore?

Parameters

  • URL:

    An URL object that specifies the location of a persistent store.

Return Value

The persistent store at the location specified by URL.

See Also

Managing a store’s location