Version represents and compares semantic versions in Swift.