Skip to content

Commit

Permalink
Merge pull request #53 from attaswift/Fix-Readme
Browse files Browse the repository at this point in the history
Updated swift pm package declaration
  • Loading branch information
TG908 authored Apr 5, 2019
2 parents beee74d + 6d3a885 commit ed7ab8e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ BigInt can be used, distributed and modified under [the MIT license][license].
BigInt 3.0.0 requires Swift 4. (The last version with support for Swift 3.x was BigInt 2.1.0.
The last version with support for Swift 2 was BigInt 1.3.0.)

| Swift Version | last BigInt Version|
| ------------- |:-------------------|
| 3.x | 2.1.0 |
| 4.0 | 3.1.0 |
| 4.2 | 4.0.0 |

BigInt deploys to macOS 10.10, iOS 9, watchOS 2 and tvOS 9.
It has been tested on the latest OS releases only---however, as the module uses very few platform-provided APIs,
there should be very few issues with earlier versions.
Expand All @@ -114,22 +120,21 @@ Setup instructions:
Add this to the dependency section of your `Package.swift` manifest:

```Swift
.Package(url: "https://github.com/attaswift/BigInt.git", from: "3.1.0")
.package(url: "https://github.com/attaswift/BigInt.git", from: "4.0.0")
```

- **CocoaPods:** Put this in your `Podfile`:

```Ruby
pod 'BigInt', '~> 3.1'
pod 'BigInt', '~> 4.0'
```

- **Carthage:** Put this in your `Cartfile`:

```
github "attaswift/BigInt" ~> 3.1
github "attaswift/BigInt" ~> 4.0
```


## <a name="notes">Implementation notes</a>

[`BigUInt`][BigUInt] is a `MutableCollectionType` of its 64-bit digits, with the least significant
Expand Down

0 comments on commit ed7ab8e

Please sign in to comment.