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

Crashing when reutilizing #227

Open
mnievas opened this issue Mar 22, 2017 · 0 comments
Open

Crashing when reutilizing #227

mnievas opened this issue Mar 22, 2017 · 0 comments

Comments

@mnievas
Copy link

mnievas commented Mar 22, 2017

Version: 3.0.13
File: JBLineChartDotsView.m
When animating a second line (at least).

In line of 74, this code returns a NSNull object.
__block UIView *dotView = [mutableReusableDotViews jb_pop];

Then in this line (76), it crashes because NSNull does not have a .center, obviously :)

dotView.center = CGPointMake(lineChartPoint.position.x, lineChartPoint.position.y); // animate move

Thanks in advance.
Marce.

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

1 participant