version(forClassName:)
This method is present for historical reasons and is not used with keyed archivers.
Declaration
func version(forClassName className: String) -> IntReturn 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.