Skip to content

Commit

Permalink
for #3061
Browse files Browse the repository at this point in the history
revert animationUpdate() and animationEnd()
not trigger crash if subclass does nothing
  • Loading branch information
liuxuan30 committed Dec 14, 2017
1 parent d4a3d4f commit f9a1456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Charts/Jobs/AnimatedViewPortJob.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ open class AnimatedViewPortJob: ViewPortJob

internal func animationUpdate()
{
fatalError("`animationUpdate()` must be overriden by subclasses")
// Override this
}

internal func animationEnd()
{
fatalError("`animationEnd()` must be overriden by subclasses")
// Override this
}
}

0 comments on commit f9a1456

Please sign in to comment.