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

# formattingDictionary

The formatting dictionary for the rule editor.

```
var formattingDictionary: [String : String]? { get set }
```

## Discussion

If you assign a new the formatting dictionary to this property, it sets the current to formatting strings file name to `nil`.

---

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)