Tweening a UIGradient through an offset?

I’ve seen that you can tween UIGradient’s transparency through the method here

but that method involves changing the transparency value’s numbersequence very often, and the UIGradient documentation page states


“avoid setting transparency frequently”
Is there any sort of way to get 2 UIGradients working simultaneously so one could be transparency and the other for color?