Initializer
init(versionString:)
Creates a new version from the given string representation.
init?(versionString: String)
Parameters
versionStringA version as a string.
Discussion
warning
Returns nil if the version string contains non-integer or negative numeric components; for example the strings “1.2.3-beta6” and “1.-2.3” are invalid inputs.