Here is my codes
-(void)deal
UIImageView*)cardImage
{
[NSTimer scheduledTimerWithTimeInterval:timeTaken*10 target:self selector
selector(alphaDealImage:cardImage
userInfo:nil repeats:NO];
}
-(void) alphaDealImage
UIImageView*)cardImage
{
cardImage.alpha = 0.0;
}
It crashes my program and I have searched all through the web for this problem. The bold line must be the one doing the job. Anyone knows how to write the right code for that?
-(void)deal
{
[NSTimer scheduledTimerWithTimeInterval:timeTaken*10 target:self selector
}
-(void) alphaDealImage
{
cardImage.alpha = 0.0;
}
It crashes my program and I have searched all through the web for this problem. The bold line must be the one doing the job. Anyone knows how to write the right code for that?