I'm having one error and one warning concerning the usage of the 'GetTiming()' function. My colde is as follows:
[values addObject:[NSNumber numberWithFloat:25.0]];
[timings addObject:GetTiming(kCAMediaTimingFunctionEaseIn)];
[keytimes addObject:[NSNumber numberWithFloat:0.0]];
I am importing the following:
#import <QuartzCore/CAAnimation.h>
#import <QuartzCore/CAMediaTimingFunction.h>
The error I suppose is due to the fact that I'm using ARC, and says:
implicit conversion of 'int' to 'id' is disallowed with ARC.
I tried to disable ARC in the concerning file but the error persists.
About the warning, it says:
implicit declaration of function 'GetTiming' is invalid in C99
Any one have any ideas on how can I fix these issues? Thanks a lot!