Instance Method

version(forClassName:)

This method is present for historical reasons and is not used with keyed archivers.

Declaration

func version(forClassName className: String) -> Int

Return Value

The version in effect for the class named className or NSNotFound if no class named className exists.

Discussion

The version number does apply not to NSKeyedArchiver/NSKeyedUnarchiver. A keyed archiver does not encode class version numbers.

See Also

Getting Version Information

var systemVersion: UInt32

The system version in effect for the archive.