Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inserting nil into Array crash #1

Open
ajmccall opened this issue Sep 6, 2016 · 2 comments
Open

Inserting nil into Array crash #1

ajmccall opened this issue Sep 6, 2016 · 2 comments

Comments

@ajmccall
Copy link
Collaborator

ajmccall commented Sep 6, 2016

HI @dadederk,

When using your pod, we have some crashes being reported LIVE

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x181482db0 __exceptionPreprocess
1  libobjc.A.dylib                0x180ae7f80 objc_exception_throw
2  CoreFoundation                 0x1813661a0 -[__NSPlaceholderArray initWithObjects:count:]
3  CoreFoundation                 0x181371c48 +[NSArray arrayWithObjects:count:]
4  MTV-US                         0x10020866c -[MQSwipingCardsView handleCardWithVelocity:] (MQSwipingCardsView.m:214)

I suspect that the user is swiping quickly and the current card index is beyond the number of cards.

@ajmccall
Copy link
Collaborator Author

ajmccall commented Sep 6, 2016

Might be solved by #2

@dadederk
Copy link
Owner

dadederk commented Sep 6, 2016

@ajmccall I have merged #2 and created a new version of the pod. Looking good, but let's keep the Issue opened for the moment and see if the fix takes effect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants