https://github.com/neoneye/swiftyversion
Scan "Semantic Versioning" strings without depending on regular expressions nor NSScanner
https://github.com/neoneye/swiftyversion
nsscanner parser swift swift4 version
Last synced: 9 months ago
JSON representation
Scan "Semantic Versioning" strings without depending on regular expressions nor NSScanner
- Host: GitHub
- URL: https://github.com/neoneye/swiftyversion
- Owner: neoneye
- License: mit
- Created: 2017-11-02T23:23:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T17:17:48.000Z (over 8 years ago)
- Last Synced: 2025-02-09T18:25:45.509Z (over 1 year ago)
- Topics: nsscanner, parser, swift, swift4, version
- Language: Swift
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# SwiftyVersion
Create a `Version` from a `String`
```swift
import SwiftyVersion
// ...
let version = Version("1.2.3")!
print("The version is \(version)")
```