File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## [ 0.1.0] ( https://github.com/JoniVR/VerticalCardSwiper/releases/tag/0.1.0 ) (Mar 13, 2019)
4+
5+ #### Enhancements
6+
7+ - Added ` insertCards ` function to ` VerticalCardSwiper ` .
8+ - Added ` deleteCards ` function to ` VerticalCardSwiper ` .
9+ - Added ` moveCard ` function to ` VerticalCardSwiper ` .
10+ - Added ` focussedIndex ` variable to ` VerticalCardSwiper ` .
11+ - Improved UITests.
12+ - Improved example.
13+ - Cleaned up code and removed some force-unwrapping.
14+ - Added [ Swiftlint] ( https://github.com/realm/SwiftLint ) .
15+
316## [ 0.1.0-beta7] ( https://github.com/JoniVR/VerticalCardSwiper/releases/tag/0.1.0-beta7 ) (Jan 8, 2019)
417
518#### API breaking changes
Original file line number Diff line number Diff line change 99<div align =" center " >
1010 <!-- build status -->
1111 <a href="https://travis-ci.org/JoniVR/VerticalCardSwiper">
12- <img src="https://travis-ci.org/JoniVR/VerticalCardSwiper.svg?branch=master" alt="build status"/ >
12+ <img src="https://travis-ci.org/JoniVR/VerticalCardSwiper.svg?branch=master" alt="build status">
1313 </a>
1414 <!-- version -->
1515 <a href="https://cocoapods.org/pods/VerticalCardSwiper">
16- <img src="https://img.shields.io/cocoapods/v/VerticalCardSwiper.svg?style=flat" alt="cocoapods version"/ >
16+ <img src="https://img.shields.io/cocoapods/v/VerticalCardSwiper.svg?style=flat" alt="cocoapods version">
1717 </a>
1818 <!-- license -->
1919 <a href="https://cocoapods.org/pods/VerticalCardSwiper">
20- <img src="https://img.shields.io/cocoapods/l/ VerticalCardSwiper.svg?style=flat" alt="license"/>
20+ <img alt="GitHub" src="https://img.shields.io/github/license/JoniVR/ VerticalCardSwiper.svg">
2121 </a>
2222 <!-- platform -->
2323 <a href="https://cocoapods.org/pods/VerticalCardSwiper">
24- <img src="https://img.shields.io/cocoapods/p/VerticalCardSwiper.svg?style=flat?" alt="platform"/ >
24+ <img src="https://img.shields.io/cocoapods/p/VerticalCardSwiper.svg?style=flat?" alt="platform">
2525 </a>
2626</div >
2727
2828<br />
2929
3030<div align =" center " >
31- <img src =" ./example.gif " alt =" example " / >
31+ <img src =" ./example.gif " alt =" example " >
3232</div >
3333
3434## Project goal and information
@@ -46,7 +46,7 @@ VerticalCardSwiper is available through [CocoaPods](https://cocoapods.org). To i
4646it, simply add the following line to your Podfile:
4747
4848``` ruby
49- pod ' VerticalCardSwiper' , ' 0.1.0-beta7 '
49+ pod ' VerticalCardSwiper'
5050```
5151
5252## Example
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ internal extension UIPanGestureRecognizer {
2828 /**
2929 This calculated var stores the direction of the gesture received by the `UIPanGestureRecognizer`.
3030 */
31- internal var direction : PanDirection ? {
31+ var direction : PanDirection ? {
3232 let velocity = self . velocity ( in: view)
3333 let vertical = abs ( velocity. y) > abs ( velocity. x)
3434 switch ( vertical, velocity. x, velocity. y) {
Original file line number Diff line number Diff line change 88
99Pod ::Spec . new do |s |
1010 s . name = 'VerticalCardSwiper'
11- s . version = '0.1.0-beta7 '
11+ s . version = '0.1.0'
1212 s . summary = 'A marriage between the Shazam Discover UI and Tinder, built with UICollectionView in Swift.'
1313
1414# This description is used to generate tags and improve search results.
You can’t perform that action at this time.
0 commit comments