Cell which immitates iOS10's Mail.app cell swiping behavior
Swift Shell Ruby Objective-C
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
SwipeAndSnapCell.xcodeproj
SwipeAndSnapCell
.gitignore
.travis.yml
LICENSE
README.md
SwipeAndSnapCell.podspec
_Pods.xcodeproj

README.md

SwipeAndSnapCell

[![CI Status](http://img.shields.io/travis/Ian Dundas/SwipeAndSnapCell.svg?style=flat)](https://travis-ci.org/Ian Dundas/SwipeAndSnapCell) Version License Platform

An example implementation of the swipe-able cell used in iOS10's Mail.app, where you can swipe to reveal a button, or swipe fully across to perform the action immediately. Supports haptic feedback on iPhone 7.

I hope it's useful to somebody, I'll be using it in v2.0 of Tacks.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Swift 3.0

Installation

SwipeAndSnapCell is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SwipeAndSnapCell"

Future:

  • allow swiping on the button itself

Author

Ian Dundas, contact@iandundas.co.uk

License

SwipeAndSnapCell is available under the MIT license. See the LICENSE file for more info.