This is terribly inefficient, but it might help.
If you are having problems with number type compatibility, package both into the NSNumber class and use it's compare methods.
something like
if ( NSOrderedAscending == [[NSNumber numberWithDouble:fadeImageView.alpha] compare:[NSNumber numberWithDouble:1.0]){
I don't know why your code isn't working, but this might make the compiler word the error differently if it's a problem somewhere else.
|