---
title: "init(url:)"
framework: coredata
role: symbol
role_heading: Initializer
path: "coredata/nspersistentstoredescription/init(url:)-ko0l"
---

# init(url:)

Initializes the receiver with a URL for the store.

## Declaration

```swift
init(url: URL)
```

## Parameters

- `url`: Location for the store.

## Return Value

Return Value Initialized NSPersistentStoreDescription configured with the given URL.
