IOS-940 totalDuration not needed in deciseconds
authorDirk Zimmermann <dirk@pep-project.org>
Thu, 17 May 2018 09:02:50 +0200
changeset 47197729ab430d3e
parent 4718 e439162fafe6
child 4720 156848afd042
IOS-940 totalDuration not needed in deciseconds
pEpForiOS/UI/Util/CGImageSource+Extension.swift
     1.1 --- a/pEpForiOS/UI/Util/CGImageSource+Extension.swift	Thu May 17 09:02:49 2018 +0200
     1.2 +++ b/pEpForiOS/UI/Util/CGImageSource+Extension.swift	Thu May 17 09:02:50 2018 +0200
     1.3 @@ -75,16 +75,6 @@
     1.4                  return accu + theNextDouble
     1.5              }
     1.6          }
     1.7 -
     1.8 -        /**
     1.9 -         Total duration in deciseconds of a sequence of animation frames.
    1.10 -         */
    1.11 -        static func totalDurationDecis(animationFrames: [AnimationFrame]) -> Int64 {
    1.12 -            let durations = animationFrames.map { return $0.durationDecis }
    1.13 -            return durations.reduce(0) { accu, theNextInt64 in
    1.14 -                return accu + theNextInt64
    1.15 -            }
    1.16 -        }
    1.17      }
    1.18  
    1.19      /**