Try: define MOVE_ANIMATION_DURATION_SECONDS 2 UIView beginAnimations:nil context:pointValue; UIView setAnimationCurve:UIViewAnimationCurveEaseInOut; UIView setAnimationDuration:MOVE_ANIMATION_DURATION_SECONDS; UIView setAnimationDelegate:self; UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:context:); CGRect frame = myUIViewObject. Frame; frame. Origin = point; myUIViewObject.
Frame = frame; UIView commitAnimations.
Try: #define MOVE_ANIMATION_DURATION_SECONDS 2 UIView beginAnimations:nil context:pointValue; UIView setAnimationCurve:UIViewAnimationCurveEaseInOut; UIView setAnimationDuration:MOVE_ANIMATION_DURATION_SECONDS; UIView setAnimationDelegate:self; UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:context:); CGRect frame = myUIViewObject. Frame; frame. Origin = point; myUIViewObject.
Frame = frame; UIView commitAnimations.
For some reason, the first time this runs, the animated view seems to go down on the y axis a little bit. However, after this it works fine. Any ideas?
– PF1 Aug 26 '09 at 19:52 I would check to see what the value of point is every time it is run - my guess is that point the first time is not what you'd expect. – fbrereto Aug 26 '09 at 20:22 Thanks for your reply fbrereton. I fixed the problem and it works great now!
– PF1 Aug 26 '09 at 21:35.
After the begin, but before the commit, change the value on your UI View.
If you're targeting 10.5 or above, you can use Core Animation via the animator proxy added to NSView. Try someView animator setFrame: someNewFrame.
– fbrereto Aug 26 '09 at 18:39 I don't know off the top of my head (not yet had a chance to develop for the iPhone). I would imagine so. – Adam Wright Aug 26 '09 at 19:04 The iPhone has a different view architecture than the Mac, so the animator proxy does not exist on the iPhone platform.
– Brad Larson Aug 26 '09 at 20:58.
CGRect frame = myUIViewObject. After the begin, but before the commit, change the value on your UI View. If you're targeting 10.5 or above, you can use Core Animation via the animator proxy added to NSView.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.