Fixed: _CPObjectAnimator initialize method did not match superclass return (#2743)

* Fixed: _CPObjectAnimator initialize method did not match superclass return

_CPObject animator labeled return type as BOOL, not only is this value not returned, but the super class CPProxy's initialize method returns void. Changed return type to void in _CPObject animator, to match superclass
This commit is contained in:
bedalton authored and cacaodev committed 2018-08-03 08:28:05 +02:00
1 parent 4afbfc6e57
commit 53a52da709
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ var _supportsCSSAnimations = null;
id <CPAnimatablePropertyContainer> _target;
}
+ (BOOL)initialize
+ (void)initialize
{
if ([self class] !== [_CPObjectAnimator class])
return;