Skip to content

Commit

Permalink
release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JoniVR committed Mar 13, 2019
1 parent 44eda08 commit 3075fb9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change Log

## [0.1.0](https://github.com/JoniVR/VerticalCardSwiper/releases/tag/0.1.0) (Mar 13, 2019)

#### Enhancements

- Added `insertCards` function to `VerticalCardSwiper`.
- Added `deleteCards` function to `VerticalCardSwiper`.
- Added `moveCard` function to `VerticalCardSwiper`.
- Added `focussedIndex` variable to `VerticalCardSwiper`.
- Improved UITests.
- Improved example.
- Cleaned up code and removed some force-unwrapping.
- Added [Swiftlint](https://github.com/realm/SwiftLint).

## [0.1.0-beta7](https://github.com/JoniVR/VerticalCardSwiper/releases/tag/0.1.0-beta7) (Jan 8, 2019)

#### API breaking changes
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@
<div align="center">
<!-- build status -->
<a href="https://travis-ci.org/JoniVR/VerticalCardSwiper">
<img src="https://travis-ci.org/JoniVR/VerticalCardSwiper.svg?branch=master" alt="build status"/>
<img src="https://travis-ci.org/JoniVR/VerticalCardSwiper.svg?branch=master" alt="build status">
</a>
<!-- version -->
<a href="https://cocoapods.org/pods/VerticalCardSwiper">
<img src="https://img.shields.io/cocoapods/v/VerticalCardSwiper.svg?style=flat" alt="cocoapods version"/>
<img src="https://img.shields.io/cocoapods/v/VerticalCardSwiper.svg?style=flat" alt="cocoapods version">
</a>
<!-- license -->
<a href="https://cocoapods.org/pods/VerticalCardSwiper">
<img src="https://img.shields.io/cocoapods/l/VerticalCardSwiper.svg?style=flat" alt="license"/>
<img alt="GitHub" src="https://img.shields.io/github/license/JoniVR/VerticalCardSwiper.svg">
</a>
<!-- platform -->
<a href="https://cocoapods.org/pods/VerticalCardSwiper">
<img src="https://img.shields.io/cocoapods/p/VerticalCardSwiper.svg?style=flat?" alt="platform"/>
<img src="https://img.shields.io/cocoapods/p/VerticalCardSwiper.svg?style=flat?" alt="platform">
</a>
</div>

<br />

<div align="center">
<img src="./example.gif" alt="example"/>
<img src="./example.gif" alt="example">
</div>

## Project goal and information
Expand All @@ -46,7 +46,7 @@ VerticalCardSwiper is available through [CocoaPods](https://cocoapods.org). To i
it, simply add the following line to your Podfile:

```ruby
pod 'VerticalCardSwiper', '0.1.0-beta7'
pod 'VerticalCardSwiper'
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion Sources/Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal extension UIPanGestureRecognizer {
/**
This calculated var stores the direction of the gesture received by the `UIPanGestureRecognizer`.
*/
internal var direction: PanDirection? {
var direction: PanDirection? {
let velocity = self.velocity(in: view)
let vertical = abs(velocity.y) > abs(velocity.x)
switch (vertical, velocity.x, velocity.y) {
Expand Down
2 changes: 1 addition & 1 deletion VerticalCardSwiper.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'VerticalCardSwiper'
s.version = '0.1.0-beta7'
s.version = '0.1.0'
s.summary = 'A marriage between the Shazam Discover UI and Tinder, built with UICollectionView in Swift.'

# This description is used to generate tags and improve search results.
Expand Down

0 comments on commit 3075fb9

Please sign in to comment.