Swiftpack.co - Package - ddddxxx/Semver

Semver

Build Status supports platforms

Semver is a Swift implementation of the Semantic Versioning.

Requirements

  • macOS 10.9+ / iOS 8.0+ / tvOS 9.0+ / watchOS 2.0+
  • Xcode 9+
  • Swift 4.0+

Example

import Semver

// A leading "v" character is ignored.
let version = Semver("v1.3.8-rc.1+build.3")!

version > Semver("1.0.2+39f1d74")! // true

Installation

Carthage

Add the project to your Cartfile:

github "ddddxxx/Semver"

Swift Package Manager

Add the project to your Package.swift file:

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/ddddxxx/Semver")
    ]
)

CocoaPods

Add the project to your Podfile:

pod 'Semver2'

License

Semver is available under the MIT license. See the LICENSE file.

Github

link
Stars: 2
Help us keep the lights on

Dependencies

Used By

Total: 2