Latest | 1.1.0 |
---|---|
Homepage | https://github.com/nvzqz/RandomKitBigInt |
License | MIT |
Platforms | ios 8.0, osx 10.9, watchos 2.0, tvos 9.0 |
Dependencies | RandomKit, BigInt |
Authors | , |
RandomKitBigInt allows for random generation of arbitrary-precision integers in
Swift. This is a set of extensions to BigInt
that provide functionality of RandomKit.
Installation
Compatibility
- Platforms:
- macOS 10.9+
- iOS 8.0+
- watchOS 2.0+
- tvOS 9.0+
- Linux
- Xcode 8.0
- Swift 3.0
Install Using Swift Package Manager
The Swift Package Manager is a
decentralized dependency manager for Swift.
-
Add the project to your
Package.swift
.import PackageDescription let package = Package( name: "MyAwesomeProject", dependencies: [ .Package(url: "https://github.com/nvzqz/RandomKitBigInt.git", majorVersion: 1) ] )
-
Import the RandomKitBigInt module.
import RandomKitBigInt
Install Using CocoaPods
CocoaPods is a centralized dependency manager for
Objective-C and Swift. Go here
to learn more.
-
Add the project to your Podfile.
use_frameworks! pod 'RandomKitBigInt', '~> 1.1.0'
If you want to be on the bleeding edge, replace the last line with:
pod 'RandomKitBigInt', :git => 'https://github.com/nvzqz/RandomKitBigInt.git'
-
Run
pod install
and open the.xcworkspace
file to launch Xcode. -
Import the RandomKitBigInt framework.
import RandomKitBigInt
Install Using Carthage
Carthage is a decentralized dependency
manager for Objective-C and Swift.
-
Add the project to your Cartfile.
github "nvzqz/RandomKitBigInt"
-
Run
carthage update
and follow the additional steps
in order to add RandomKitBigInt to your project. -
Import the RandomKitBigInt framework.
import RandomKitBigInt
License
RandomKit is released under the MIT License.
Latest podspec
{ "name": "RandomKitBigInt", "version": "1.1.0", "summary": "Random generation of arbitrary-precision integers in Swift.", "homepage": "https://github.com/nvzqz/RandomKitBigInt", "license": { "type": "MIT", "file": "LICENSE.md" }, "authors": [ "Nikolai Vazquez", "Ku00e1roly Lu0151rentey" ], "platforms": { "ios": "8.0", "osx": "10.9", "watchos": "2.0", "tvos": "9.0" }, "source": { "git": "https://github.com/nvzqz/RandomKitBigInt.git", "tag": "v1.1.0" }, "source_files": "Sources/**/*.swift", "dependencies": { "RandomKit": [ "~> 2.3.0" ], "BigInt": [ "~> 2.1.1" ] }, "pushed_with_swift_version": "3.0" }
Thu, 23 Feb 2017 06:00:03 +0000