Skip to content

Cell which immitates iOS10's Mail.app cell swiping behavior

License

Notifications You must be signed in to change notification settings

iandundas/SwipeAndSnapCell

Repository files navigation

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, [email protected]

License

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

About

Cell which immitates iOS10's Mail.app cell swiping behavior

Resources

License

Stars

Watchers

Forks

Packages

No packages published