Skip to content

Commit

Permalink
update readme and podspec for swift4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-0000 committed Sep 14, 2018
1 parent 547aad8 commit e57dfd1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
SKPhotoBrowser
<h1 align="center">SKPhotoBrowser</h1>
<H4 align="center">
Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift
</H4>

![Swift](http://img.shields.io/badge/swift-4.0-brightgreen.svg)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Cocoapods Compatible](https://img.shields.io/cocoapods/v/SKPhotoBrowser.svg?style=flat)](http://cocoadocs.org/docsets/SKPhotoBrowser)
[![All Contributors](https://img.shields.io/badge/all_contributors-20-orange.svg?style=flat-square)](#contributors)

Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift, based on [IDMPhotoBrowser](https://github.com/ideaismobile/IDMPhotoBrowser), [MWPhotoBrowser](https://github.com/mwaterfall/MWPhotoBrowser).

## features
- Display one or more images by providing either `UIImage` objects, or string of URL array.
- Photos can be zoomed and panned, and optional captions can be displayed
Expand All @@ -30,7 +32,8 @@ Below is a table that shows which version of SKPhotoBrowser you should use for y

| Swift version | SKPhotoBrowser version |
| ------------- | --------------- |
| 4.X | >= 5.0.0 |
| 4.2 | >= 6.0.0 |
| 4.1 | >= 5.0.0 |
| 3.2 | >= 4.0.0 |
| 2.3 | 2.0.4 - 3.1.4 |
| 2.2 | <= 2.0.3 |
Expand Down Expand Up @@ -239,7 +242,6 @@ SKPhotoBrowserOptions.enableSingleTapDismiss = true // default false
## License
available under the MIT license. See the LICENSE file for more info.


## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
Expand Down
6 changes: 3 additions & 3 deletions SKPhotoBrowser.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "SKPhotoBrowser"
s.version = "5.1.0"
s.summary = "Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift."
s.version = "6.0.0"
s.summary = "Simple PhotoBrowser/Viewer iwritten by pure swift. inspired by facebook, twitter photo browsers."
s.homepage = "https://github.com/suzuki-0000/SKPhotoBrowser"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "suzuki_keishi" => "[email protected]" }
Expand All @@ -11,5 +11,5 @@ Pod::Spec.new do |s|
s.resources = "SKPhotoBrowser/SKPhotoBrowser.bundle"
s.requires_arc = true
s.frameworks = "UIKit"
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' }
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.2' }
end

0 comments on commit e57dfd1

Please sign in to comment.