Greetings!
Attempting to use your cocoa pod. Getting an issue when initializing the NumberScrollCounter. In the public init, you have the line:
frame.size.height = digitScrollers.first!.height
However, the digitScrollers are set as the top as an empty array and never set to a value. So โ I am getting an "Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value" error when attempting to use this. Any suggestions?
Here is my call trying to use the NumberScrollCounter:
let label = NumberScrollCounter(value: 0, scrollDuration: 0.33, decimalPlaces: 0, font: UIFont(name: "TitanOne", size: 56)!, textColor: K.Colors.yellow!, animateInitialValue: true, gradientColor: .black, gradientStop: 0.2)