<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.11.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextWritingDirectionOverride",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@Ea@NSTextWritingDirectionEmbedding@NSTextWritingDirectionOverride"
  },
  "title" : "NSTextWritingDirectionOverride"
}
-->

# NSTextWritingDirectionOverride

```
var NSTextWritingDirectionOverride: Int { get }
```

## Discussion

Enables character types with inherent directionality to be overridden when required for special cases, such as for part numbers made of mixed English, digits, and Hebrew letters to be written from right to left.

Use the [`NSWritingDirectionFormatType.override`](/documentation/AppKit/NSWritingDirectionFormatType/override) constant instead.

---

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)