<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/additional-writing-directions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Additional Writing Directions"
}
-->

# Additional Writing Directions

Constants that specify additional options when setting the writing direction of attributed strings.

## Discussion

You can use the logical `OR` operator to combine these constants with [`NSWritingDirection.leftToRight`](/documentation/AppKit/NSWritingDirection/leftToRight) or [`NSWritingDirection.rightToLeft`](/documentation/AppKit/NSWritingDirection/rightToLeft) when used with <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/Key/writingDirection> to specify formatting controls defined by the Unicode Bidirectional Algorithm in Unicode Standard Annex #9.

## Topics

### Constants

[`var NSTextWritingDirectionEmbedding: Int`](/documentation/AppKit/NSTextWritingDirectionEmbedding)

Text is embedded in text with another writing direction.

[`var NSTextWritingDirectionOverride: Int`](/documentation/AppKit/NSTextWritingDirectionOverride)



---

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)