---
title: isReadOnly
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nspersistentstore/isreadonly
---

# isReadOnly

A Boolean value that indicates whether the persistent store is read-only.

## Declaration

```swift
var isReadOnly: Bool { get set }
```

## Discussion

Discussion true if the receiver is read-only, otherwise false.

## See Also

### Managing Store Attributes

- [identifier](coredata/nspersistentstore/identifier.md)
- [url](coredata/nspersistentstore/url.md)
