<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSGlyphGenerator/shared",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSGlyphGenerator(cpy)sharedGlyphGenerator"
  },
  "title" : "shared"
}
-->

# shared

Returns a shared instance of `NSGlyphGenerator`.

```
class var shared: NSGlyphGenerator { get }
```

## See Also

[`NSGlyphStorage`](/documentation/AppKit/NSGlyphStorage)

A set of methods that a glyph storage object must implement to interact properly with [`NSGlyphGenerator`](/documentation/AppKit/NSGlyphGenerator).



---

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)