From f9a14566aeb52536e58e38d0295f01cf62a67051 Mon Sep 17 00:00:00 2001 From: Xuan Liu Date: Thu, 14 Dec 2017 09:54:38 +0800 Subject: [PATCH] for #3061 revert animationUpdate() and animationEnd() not trigger crash if subclass does nothing --- Source/Charts/Jobs/AnimatedViewPortJob.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Charts/Jobs/AnimatedViewPortJob.swift b/Source/Charts/Jobs/AnimatedViewPortJob.swift index 7b2cd3e175..985358e4b6 100644 --- a/Source/Charts/Jobs/AnimatedViewPortJob.swift +++ b/Source/Charts/Jobs/AnimatedViewPortJob.swift @@ -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 } }