Skip to content

Yet another implementation of Semantic Versioning in Swift.

License

Notifications You must be signed in to change notification settings

YOCKOW/SwiftSemanticVersion

Repository files navigation

What is SwiftSemanticVersion?

Yet another implementation of Semantic Versioning in Swift.

Sample Code

import SemanticVersion

let version = SemanticVersion("1.0.0-beta.2+20170904.001")!
// {
//   major: 1,
//   minor: 0,
//   patch: 0,
//   prereleaseIdentifiers: "beta.2"
//   buildMetadataIdentifiers: "20170904.001"
// }

Protocols

SemanticVersion conforms to Comparable and CustomStringConvertible

License

MIT License.
See "LICENSE.txt" for more information.

About

Yet another implementation of Semantic Versioning in Swift.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages