According to the docs, the way to repeat a CABasicAnimation forever is to set its repeatCount
to HUGE_VALF
.
But in Swift, HUGE_VALF
causes a compile error. Swift doesn't seem to know about the standard library (or wherever this constant resides).
What do I do now?