Giter Site home page Giter Site logo

mbogh / bsswipetableviewcell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simonbs/bsswipetableviewcell

0.0 2.0 0.0 381 KB

A very customizable table view cell which can be swiped left and right.

License: MIT License

Ruby 2.05% Objective-C 97.95%

bsswipetableviewcell's Introduction

BSSwipeTableViewCell

BSSwipeTableViewCell is a very customizable table view cell which can be swiped left and right. What differentiates BSSwipeTableViewCell from other similar solutions is that it uses a delegate to determine which view to show in the sides

Screenshot

Requirements

  • ARC must be enabled. If you are not already using ARC, now is a good time.
  • Only supports iOS 7.

Installation

If you are using CocoaPods (which you should!) you can just add the following to your podfile and run pod install.

pod 'BSSwipeTableViewCell', :git => 'https://github.com/simonbs/BSSwipeTableViewCell.git'

If you are not not using CocoaPods, you should clone this repository and copy BSSwipeTableViewCell/ directory into your project.

When you have installed BSSwipeTableViewCell either using CocoaPods or not, you just need to import the BSSwipeTableViewCell.h.

#import "BSSwipeTableViewCell.h"��

Usage

Coming soon.

Known Issues

None but let me know if you find anything.

Demo Project

The repsitory contains a simple example project. This project was used to create the animation shown above. In the example project, a row is deleted by swiping right. When swiping left, the row will change between two states: checked and unchecked. I keep an array of index paths stored in the controller to check if a row is checked or not.

Credits

BSSwipeTableViewCell is developed by @simonbs, simonbs.dk Feel free to fork the repository and send pull requests if you have made something awesome.

License

BSSwipeTableViewCell is released under the MIT license. Please see the LICENSE file for more information.

bsswipetableviewcell's People

Contributors

simonbs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.