me-abhinav/NumberMorphView

Index out of range

raheelsadiq opened this issue · 2 comments

Hi, I couldn't use this library, I get index out of range in

func updateAnimationFrame()
Sometimes at pNext and sometimes at pCur

let pCur = endpoints_scaled[_currentDigit];
let pNext = endpoints_scaled[_nextDigit];

I am using Swift 4 with Xcode 9.2

I am getting this issue as well.

hello @me-abhinav im getting the same error also
but when I put a constant number it works.
I want to add a function instead?