CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✓ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Dec 2016 |
| SwiftSwift Version | 3.0 |
| SPMSupports SPM | ✗ |
Maintained by Wagner Truppel.
WTIntExtensions adds methods to generate uniformly-distributed pseudo-random integer values:
public static func random(_ a: Int, _ b: Int) -> Int
public static func randomNonZero(_ a: Int, _ b: Int) throws -> IntBecause who doesn’t keep re-implementing random number generators time and again?
WTIntExtensions adds 2 extensions, fully tested by 4 tests with 100% coverage.
Changes to WTIntExtensions are listed here.
WTIntExtensions is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "WTIntExtensions"Wagner Truppel, [email protected]
WTIntExtensions is available under the MIT license. See the LICENSE file for more info.