Contents

class(forFileType:)

Returns the image representation subclass that handles data with the specified type.

Declaration

class func `class`(forFileType type: String) -> AnyClass?

Parameters

  • type:

    A string containing the filename extension or an encoded HFS type.

Return Value

A Class object for the image representation that can handle the type of data, or nil if no image representation could handle the type.

See Also

Managing Representation Subclasses of Images