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

# allowsOtherFileTypes

A Boolean value that indicates whether the panel allows the user to save files with a filename extension that’s not in the list of allowed types.

```
var allowsOtherFileTypes: Bool { get set }
```

## Discussion

When the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the panel allows the user to save files with an extension that’s not in the list of allowed types. The default value is <doc://com.apple.documentation/documentation/Swift/false>.

If the user tries to save a filename with a recognized extension that’s not in the list of allowed types, they are presented with a dialog. If the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, then the dialog presents the option of using the extension the user specified.

---

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)