WaveColor
extension WaveColor
-
Returns a
UIColor
by interpolating between two otherUIColor
s.Declaration
Parameters
fromColor
The
UIColor
to interpolate fromtoColor
The
UIColor
to interpolate to (e.g. when fully interpolated)progress
The interpolation progess; must be a
CGFloat
from 0 to 1Return Value
The interpolated
UIColor
for the given progress point