Skip to content

Commit 35b3b90

Browse files
mergesortRuiAAPeres
authored andcommitted
Adding Podspec for Swift 4 support (#158)
* Bumping podspec This is to incorporate the Swift 4 support that was merged into master. * Updating podspec to 5.0.0 Since the Swift 4 upgrade was a breaking change, we're bumping this to 5.0.0 instead of 4.2.0. * Updating README to reflect Swift 4/ImageViewer 5
1 parent 499e5d4 commit 35b3b90

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ImageViewer.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "ImageViewer"
3-
s.version = "4.1.0"
3+
s.version = "5.0.0"
44
s.summary = "An image viewer à la Twitter"
55
s.description = <<-EOS
66
ImageViewer is a library that enables a user to visualize an image in fullscreen. Besides the typical pinch and double tap to zoom, we also provide a vertical swipe to dismiss. Finally, we try to mimic the displacement of the image from its current container into fullscreen, this feature being its main selling point. We also offer an amazing Gallery, so you can swipe between images.

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
[![CI Status](http://img.shields.io/travis/MailOnline/ImageViewer.svg?style=flat)](https://travis-ci.org/MailOnline/ImageViewer)
3-
[![Swift 3.1](https://img.shields.io/badge/Swift-3.1-orange.svg?style=flat)](https://developer.apple.com/swift/)
3+
[![Swift 3.1](https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat)](https://developer.apple.com/swift/)
44
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
55
[![Version](https://img.shields.io/cocoapods/v/ImageViewer.svg?style=flat)](http://cocoadocs.org/docsets/ImageViewer)
66
[![Platforms iOS](https://img.shields.io/badge/Platforms-iOS-lightgray.svg?style=flat)](https://developer.apple.com/swift/)
@@ -49,13 +49,14 @@ extension ViewController: GalleryItemsDataSource {
4949

5050
### ImageViewer version vs Swift version.
5151

52-
ImageViewer 4.0+ is Swift 3 ready! 🎉
52+
ImageViewer 5.0+ is Swift 4 ready! 🎉
5353

5454
If you use earlier version of Swift - refer to the table below:
5555

5656
| Swift version | ImageViewer version |
5757
| ------------- | --------------------------------- |
58-
| 3.x | >= 4.0 |
58+
| 4.x | >= 5.0 |
59+
| 3.x | 4.0 |
5960
| 2.3 | 3.1 [⚠️](CHANGELOG.md#version-31) |
6061
| 2.2 | <= 2.1 |
6162

0 commit comments

Comments
 (0)