Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tv3636

macrumors newbie
Original poster
Jul 21, 2009
19
0
I'm sure there's probably a very simple solution but I can't figure out what to do. What is the best way to test for an image crossing a certain barrier? (i.e. image is constantly being animated and if it goes into a certain area game over)

The only thing I can think of is a while(YES) loop but I wouldn't really know where to put that...I see
Code:
- (void)animation:(NSAnimation *)animation didReachProgressMark:(NSAnimationProgress)progress
but I tried implementing it exactly as it says and I got errors.

Any help?

And I really hope the answer isn't "you have to manually move the image view and not use UIView beginAnimations" etc. :(

Oh, and if you couldn't tell I just started this a week ago..so I don't really know what I'm doing. The app I'm trying to make is pretty simple though, I could make it in java easily.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.