Type Property

writableTypes

Returns the types of data the receiver can write natively and any types filterable to that native type.

Declaration

@property(class, readonly, copy) NSArray<NSString *> *writableTypes;

Return Value

An array of NSString objects representing the writable document types.

See Also

Managing File Types

fileType

The name of the document type, as specified in the app’s Info.plist file.

fileTypeFromLastRunSavePanel

The file type that was last selected in the Save panel.

+ isNativeType:

Returns a Boolean value indicating whether document data of the specified type is a native type—one the receiver can both read and write.

readableTypes

Returns the types of data the receiver can read natively and any types filterable to that native type.

+ canConcurrentlyReadDocumentsOfType:

Returns a Boolean value indicating whether the receiver reads multiple documents of the given type concurrently.

- writableTypesForSaveOperation:

Returns the names of the types to which this document can be saved for a specified kind of save operation.

- fileNameExtensionForType:saveOperation:

Returns a filename extension that can be appended to a base filename, for a specified file type and kind of save operation.