Code Monkey home page Code Monkey logo

jzswipecell's People

Contributors

jlz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jzswipecell's Issues

Control not found in CocoaPods

Hi there!

This is a really great piece of software. But it would be much more easier to implement if you make it available via CocoaPods. (-:

Thanks
phranck

disable type

Hi, how can i use just 1 JZSwipeTypeLongLeft and disable other types?

Custom Cell Content not working with Storyboard

I have an app that uses storyboards and I have set up everything exactly how it needs to be!

The only issue that that when I set the reuse identifier in my storyboard file, my custom cell content shows up but the swipe cell does not with. It will show the icon images move across the cell and it will register the swipe, but the cell content does not move.

When I erase the cell identifier in the storyboard, the cell works perfectly, but the content does not show up at all.

I can get the cell.textLable.text to show up just fine, but not custom content. I have also tried creating a nib seperate from my storyboard file but that does not seem to work.

Is there something I am doing wrong specifically?

Or should I not be using storyboards?

Minimum swipe size

When there are 3 swipe options (not engaged, engage 1, engage 2) the minimum swipe size required to get to the 3rd option (engage 2) is pretty big. If the user starts the gesture having 3/4 of the screen available is not enough.

Maybe a solution could be, when there are 3 options and if the available space for the gesture is more than half screen, to divide the available space by 4 to get to 3 usable steps. It would be nice to try this out.

Crash while double click on cell.

While double clicking on particular cell then it crashed. Please find the below.

ExampleWithoutXib[462:c07] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(0x1c9b012 0x10d8e7e 0x1c500e4 0x1c62402 0x33e4 0x8710 0x6b446 0x5e3b6 0x5e554 0xc4911f8 0x22937d8 0x4a0b014 0x49fb7d5 0x1c41af5 0x1c40f44 0x1c40e1b 0x1bf57e3 0x1bf5668 0x2065c 0x276d 0x2695)
libc++abi.dylib: terminate called throwing an exception

Change Background Color of ContentView

Hi,

  1. I was trying to change background color of contentView on right swipe, and I was able to do it. Now when swipe it again , I want to change it back to white color.So can you throw some light on how to do it.

  2. On long rightSwipe , I changed background color of contentView, before releasing my touch, if I take it back and release , I want the color of ContentView to be changed to white.

How to disable RightSwipe.

Hi, thanks, for this wonderful project. On rightswipe I have written my functionality. So I want to disable your functionality and want my code to run on right swipe of the cell. But how to do this. I am planning to show a menu on rightSwipe as it is shown in twitter app. I need you suggestion regarding this

Regards
Ranjit.

Crash on LongTab

It Crashes on UILongPressGestureRecognizer. Just change this method.

  • (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer
    {
    if([gestureRecognizer isKindOfClass:[UILongPressGestureRecognizer class]]){
    return NO;
    }

    CGPoint translation = [(UIPanGestureRecognizer*)gestureRecognizer translationInView:self];
    return fabs(translation.y) < fabs(translation.x);
    }

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.