Returns the required file type (if any).
- macOS 10.0–10.6Deprecated
The required file type (if any).
A file specified in the Save panel is saved with the designated filename and this file type as an extension. Examples of common file types are “rtf”, “tiff”, and “ps”. File type strings encoding HFS file types are not valid values for this attribute. An
nil return value indicates that the user can save to any ASCII file.
This method is equivalent to using
allowed and returning the first element of the list of allowed types, or
nil if there are none.