I'm trying to call a function called animateRight in a file called ScanAnimation.m from SecondViewController.m.
In the top of SecondViewController.m I have:
ScanAnimation * Animation = [[ScanAnimation alloc] init];
and I make the call with:
[Animation animateRight];
and I get the error:
'ScanAnimation' undeclared
What am I doing wrong?