Instance Method


Returns the localized description for the specified Uniform Type Identifier


func localizedDescription(forType typeName: String) -> String?



A string containing the Uniform Type Identifier.

Return Value

An NSString containing the localized description of typeName.


The localized description is suitable for displaying to the user.

It is safe to call this method from any thread of your app.

See Also

Manipulating Uniform Type Identifier Information

func type(ofFile: String) -> String

Returns the uniform type identifier of the specified file, if it can be determined..

func preferredFilenameExtension(forType: String) -> String?

Returns the preferred filename extension for the specified Uniform Type Identifier.

func filenameExtension(String, isValidForType: String) -> Bool

Returns whether the specified filename extension is appropriate for the Uniform Type Identifier.

func type(String, conformsToType: String) -> Bool

Returns a Boolean indicating that the first Uniform Type Identifier conforms to the second Uniform Type Identifier.

func urlForApplication(withBundleIdentifier: String) -> URL?

Returns the URL for the app with the specified identifier.