<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/nsunderlinestyle-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated symbols"
}
-->

# Deprecated symbols

Review symbols that are no longer in active development, and their recommended replacements.

## Overview

Although these symbols are available for use, Apple is no longer actively developing them, and may remove them in a future release. Apple recommends moving away from these symbols and using their indicated replacements instead. Check the individual symbol pages for the recommended replacements.

## Topics

### Deprecated constants

[`static const NSUnderlineStyle NSUnderlinePatternSolid;`](/documentation/AppKit/NSUnderlinePatternSolid)

[`static const NSUnderlineStyle NSUnderlinePatternDot;`](/documentation/AppKit/NSUnderlinePatternDot)

[`static const NSUnderlineStyle NSUnderlinePatternDash;`](/documentation/AppKit/NSUnderlinePatternDash)

[`static const NSUnderlineStyle NSUnderlinePatternDashDot;`](/documentation/AppKit/NSUnderlinePatternDashDot)

[`static const NSUnderlineStyle NSUnderlinePatternDashDotDot;`](/documentation/AppKit/NSUnderlinePatternDashDotDot)

[`static const NSUnderlineStyle NSUnderlineByWord;`](/documentation/AppKit/NSUnderlineByWord)



---

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)