С Документация Apple :
Setting the repeatCount to 1e100f will cause the animation to repeat until it is removed from the layer.
Вот мой код:
CABasicAnimation *flicker = [CABasicAnimation animationWithKeyPath:@"opacity"];
flicker.repeatCount = 1e100f;
Xcode выдает предупреждение:
Semantic Issue: Magnitude of floating-point constant too large for type 'float'; maximum is 1.7014116E+38
Что-то я не так делаю?