---
title: "remove(_:)"
framework: coredata
role: symbol
role_heading: Instance Method
path: "coredata/nspersistentstorecoordinator/remove(_:)"
---

# remove(_:)

Removes the specified persistent store from the coordinator.

## Declaration

```swift
func remove(_ store: NSPersistentStore) throws
```

## Parameters

- `store`: A persistent store.

## See Also

### Related Documentation

- [migratePersistentStore(_:to:options:withType:)](coredata/nspersistentstorecoordinator/migratepersistentstore(_:to:options:withtype:).md)
- [addPersistentStore(ofType:configurationName:at:options:)](coredata/nspersistentstorecoordinator/addpersistentstore(oftype:configurationname:at:options:).md)

### Adding or removing a store

- [addPersistentStore(type:configuration:at:options:)](coredata/nspersistentstorecoordinator/addpersistentstore(type:configuration:at:options:).md)
- [addPersistentStore(ofType:configurationName:at:options:)](coredata/nspersistentstorecoordinator/addpersistentstore(oftype:configurationname:at:options:).md)
- [addPersistentStore(with:completionHandler:)](coredata/nspersistentstorecoordinator/addpersistentstore(with:completionhandler:).md)
