<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextView/isAutomaticQuoteSubstitutionEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextView(py)automaticQuoteSubstitutionEnabled"
  },
  "title" : "isAutomaticQuoteSubstitutionEnabled"
}
-->

# isAutomaticQuoteSubstitutionEnabled

A Boolean value that enables and disables automatic quotation mark substitution.

```
var isAutomaticQuoteSubstitutionEnabled: Bool { get set }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, automatic quotation mark substitution is enabled; if <doc://com.apple.documentation/documentation/Swift/false>, it is disabled.

Automatic quote substitution causes ASCII quotation marks and apostrophes to be automatically replaced, on a context-dependent basis, with more typographically accurate symbols.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)