Skip to content

Commit 5e55748

Browse files
authored
Merge pull request #216 from mattrubin/swift-versions-in-readme
Update the README to indicate compatibility with Swift 5
2 parents bf086fa + ceffc42 commit 5e55748

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[![Build Status](https://travis-ci.org/mattrubin/OneTimePassword.svg?branch=develop)](https://travis-ci.org/mattrubin/OneTimePassword)
55
[![Code Coverage](https://img.shields.io/codecov/c/github/mattrubin/OneTimePassword/develop.svg)](https://codecov.io/gh/mattrubin/OneTimePassword)
6-
[![Swift 4.2](https://img.shields.io/badge/swift-4.2-orange.svg)](#usage)
6+
[![Swift 4.2 or 5.0](https://img.shields.io/badge/swift-4.2%20%7C%205.0-orange.svg)](#usage)
77
[![Available via Carthage and CocoaPods](https://img.shields.io/badge/via-Carthage%20%7C%20CocoaPods-MediumSlateBlue.svg)](#installation)
88
![Platforms: iOS, watchOS](https://img.shields.io/badge/platforms-iOS%20%7C%20watchOS-blue.svg)
99
[![MIT License](https://img.shields.io/badge/license-MIT-lightgray.svg)](LICENSE.md)
@@ -52,8 +52,9 @@ Then run `pod install` to install the latest version of the framework.
5252

5353
## Usage
5454

55-
> The [latest version][swift-4.2] of OneTimePassword compiles with Swift 4.2, and can be linked with Swift 4 or Swift 5 projects using the Swift compiler's [compatibility mode](https://swift.org/blog/swift-4-0-released/#new-compatibility-modes). To use OneTimePassword with earlier versions of Swift, check out the [`swift-4`][swift-4], [`swift-3`][swift-3], and [`swift-2.3`][swift-2.3] branches. To use OneTimePassword in an Objective-C based project, check out the [`objc` branch][objc] and the [1.x releases][releases].
55+
> The [latest version][swift-5] of OneTimePassword can be compiled with either Swift 4.2 or Swift 5, and can be linked with Swift 4 or Swift 5 projects using the Swift compiler's [compatibility mode](https://swift.org/blog/swift-4-0-released/#new-compatibility-modes). To use OneTimePassword with earlier versions of Swift, check out the [`swift-4`][swift-4], [`swift-3`][swift-3], and [`swift-2.3`][swift-2.3] branches. To use OneTimePassword in an Objective-C based project, check out the [`objc` branch][objc] and the [1.x releases][releases].
5656
57+
[swift-5]: https://github.com/mattrubin/OneTimePassword/tree/swift-5
5758
[swift-4.2]: https://github.com/mattrubin/OneTimePassword/tree/swift-4.2
5859
[swift-4]: https://github.com/mattrubin/OneTimePassword/tree/swift-4
5960
[swift-3]: https://github.com/mattrubin/OneTimePassword/tree/swift-3

0 commit comments

Comments
 (0)