Contents

classNameDecoded(forArchiveClassName:)

Returns the name of the class that will be used when instantiating objects whose ostensible class, according to the archived data, is a given name.

Declaration

func classNameDecoded(forArchiveClassName inArchiveName: String) -> String

Parameters

  • inArchiveName:

    The ostensible name of a class in an archive.

Return Value

The name of the class that will be used when instantiating objects whose ostensible class, according to the archived data, is nameInArchive. Returns nameInArchive unless a substitute name has been specified using the instance method (not the class method) decodeClassName(_:asClassName:).

See Also

Substituting classes or objects