Skip to content

Commit f0bb40b

Browse files
jfahrenkrugRuiAAPeres
authored andcommitted
Add swift_version to podspec and update readme (#225)
- Add swift_version = "5.0" to podspec - Update URLs in Readme to point to current repo - Left "MailOnline" in place where it made sense
1 parent c5fd0b6 commit f0bb40b

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

ImageViewer.podspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ Pod::Spec.new do |s|
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.
77
EOS
88

9-
s.homepage = "https://github.com/MailOnline/ImageViewer"
9+
s.homepage = "https://github.com/Krisiacik/ImageViewer"
1010
s.license = "MIT"
1111
s.author = "MailOnline"
1212
s.social_media_url = "https://twitter.com/MailOnline"
13-
s.source = { :git => "https://github.com/MailOnline/ImageViewer.git", :tag => s.version.to_s }
13+
s.source = { :git => "https://github.com/Krisiacik/ImageViewer.git", :tag => s.version.to_s }
1414

15+
s.swift_version = "5.0"
1516
s.ios.deployment_target = "8.0"
1617

1718
s.source_files = "ImageViewer/Source/**/*"

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11

2-
[![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-4.0-orange.svg?style=flat)](https://developer.apple.com/swift/)
2+
[![CI Status](http://img.shields.io/travis/Krisiacik/ImageViewer.svg?style=flat)](https://travis-ci.org/Krisiacik/ImageViewer)
3+
[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-green.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/)
77
[![License MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat)](https://opensource.org/licenses/MIT)
88

9-
![Single image view](https://github.com/MailOnline/ImageViewer/blob/master/Documentation/single.gif)
9+
![Single image view](https://github.com/Krisiacik/ImageViewer/blob/master/Documentation/single.gif)
1010

11-
![Gallery](https://github.com/MailOnline/ImageViewer/blob/master/Documentation/gallery.gif)
11+
![Gallery](https://github.com/Krisiacik/ImageViewer/blob/master/Documentation/gallery.gif)
1212

1313
For the latest changes see the [CHANGELOG](CHANGELOG.md)
1414

@@ -23,12 +23,12 @@ pod 'ImageViewer'
2323
### Carthage
2424

2525
```ruby
26-
github "MailOnline/ImageViewer"
26+
github "Krisiacik/ImageViewer"
2727
```
2828

2929
## Sample Usage
3030

31-
For a detailed example, see the [Example](https://github.com/MailOnline/ImageViewer/tree/master/Example)!
31+
For a detailed example, see the [Example](https://github.com/Krisiacik/ImageViewer/tree/master/Example)!
3232

3333
```swift
3434
// Show the ImageViewer with the first item
@@ -49,14 +49,14 @@ extension ViewController: GalleryItemsDataSource {
4949

5050
### ImageViewer version vs Swift version.
5151

52-
ImageViewer 5.0+ is Swift 4 ready! 🎉
52+
ImageViewer 6.0+ is Swift 5 ready! 🎉
5353

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

5656
| Swift version | ImageViewer version |
5757
| ------------- | --------------------------------- |
5858
| 5.x | >= 6.0 |
59-
| 4.x | >= 5.0 |
59+
| 4.x | 5.0 |
6060
| 3.x | 4.0 |
6161
| 2.3 | 3.1 [⚠️](CHANGELOG.md#version-31) |
6262
| 2.2 | <= 2.1 |

0 commit comments

Comments
 (0)