Re: UIView animation (backgroundColor) + drawRect:

2011-03-03 Thread Roland King
As ever, thanks very much David. I figured there was *something* going on when drawRect: was defined but I wouldn't have figured out what without this help. In this case a crossfade in every case for that particular view works perfectly, I implemented what you suggested and it looks so much bet

Re: UIView animation (backgroundColor) + drawRect:

2011-03-02 Thread David Duncan
On Mar 2, 2011, at 5:12 AM, Roland King wrote: > I was trying to animate the backgroundColor of one of my UIView subclasses > yesterday using > > [ UIView animateWithDuration:2.0 animations:^{ [ myView > setBackgroundColor:someColor ]; } ]; > > but no matter what the duration set, the b

Re: UIView animation (backgroundColor) + drawRect:

2011-03-02 Thread Andreas Grosam
On Mar 2, 2011, at 2:12 PM, Roland King wrote: > I was trying to animate the backgroundColor of one of my UIView subclasses > yesterday using > > [ UIView animateWithDuration:2.0 animations:^{ [ myView > setBackgroundColor:someColor ]; } ]; > > but no matter what the duration set, the

Re: UIView animation

2010-09-03 Thread Erik Buck
21-53502-2 Chapters 11, "Archiving & Unarchiving", and 12 "Copying". --- On Fri, 9/3/10, Matt Neuburg wrote: > From: Matt Neuburg > Subject: Re: UIView animation > To: "Christian Ziegler" > Cc: cocoa-dev@lists.apple.com > Date: Friday, Septe

Re: UIView animation

2010-09-03 Thread Matt Neuburg
On Fri, 03 Sep 2010 00:11:43 +0200, Christian Ziegler said: >Hi all, > >I could use your help because I'm running out of ideas! > >Here's the situation. I got this custom view on screen which I want to remove from the screen by moving it outside the left border of the screen. However at the same t

Re: UIView animation

2010-09-03 Thread Christian Ziegler
Hi again! Just wanted to let you know that it works now. Thanks for the tip! Cheers Chris On Sep 3, 2010, at 8:25 AM, Christian Ziegler wrote: > Hi! > > Thanks Wyatt and Ricky for your answers. > > The views have to visible at the same time. I thought of making an image out > of this view

Re: UIView animation

2010-09-02 Thread Christian Ziegler
Hi! Thanks Wyatt and Ricky for your answers. The views have to visible at the same time. I thought of making an image out of this view as well but I didn't know how. I googled a little and this is what I found: UIGraphicsBeginImageContext(myView.bounds.size); [myView.layer renderInContext:UI

Re: UIView animation

2010-09-02 Thread Ricky Sharp
On Sep 2, 2010, at 5:11 PM, Christian Ziegler wrote: > I could use your help because I'm running out of ideas! > > Here's the situation. I got this custom view on screen which I want to remove > from the screen by moving it outside the left border of the screen. However > at the same time, I w

Re: UIView animation

2010-09-02 Thread Wyatt Webb
On Sep 2, 2010, at 3:11 PM, Christian Ziegler wrote: > Hi all, > > I could use your help because I'm running out of ideas! > > Here's the situation. I got this custom view on screen which I want to remove > from the screen by moving it outside the left border of the screen. However > at the s

Re: UIView animation docs question

2009-11-04 Thread Matt Neuburg
On Wed, 4 Nov 2009 09:17:30 -0600, Fritz Anderson said: > >On 3 Nov 2009, at 4:23 PM, lorenzo7...@gmail.com wrote: > >> [UIView setAnimationDidStopSelector:@selector >> (animationDidStop:finshed:context:)]; >> >> >> -(void)animationDidStop:(NSString *)animationID finished:(NSNumber *) >> finished

Re: UIView animation docs question

2009-11-04 Thread Fritz Anderson
On 3 Nov 2009, at 4:23 PM, lorenzo7...@gmail.com wrote: [UIView setAnimationDidStopSelector:@selector (animationDidStop:finshed:context:)]; -(void)animationDidStop:(NSString *)animationID finished:(NSNumber *) finished context:(void *)context{...} May I point out the spelling of the secon

Re: UIView animation docs question

2009-11-03 Thread Fritz Anderson
On 3 Nov 2009, at 3:29 PM, lorenzo7...@gmail.com wrote: The documentation for setAnimationDidStopSelector in the XCode 3.2.1: says this: "...The message sent to the animation delegate after animations end. The default value is NULL. The selector should be of the form: - (void)animationDid

Re: Re: UIView animation docs question

2009-11-03 Thread lorenzo7620
On Nov 3, 2009 5:08pm, Klaus Backert wrote: On 3 Nov 2009, at 23:23, lorenzo7...@gmail.com wrote: Here's the code: [UIView beginAnimations:@"display" context:NULL]; [UIView setAnimationDuration:0.30]; [UIView setAnimationDelegate:self]; [UIView setAnimationDidStopSelector:

Re: Re: UIView animation docs question

2009-11-03 Thread lorenzo7620
On Nov 3, 2009 3:44pm, Fritz Anderson wrote: On 3 Nov 2009, at 3:29 PM, lorenzo7...@gmail.com wrote: The documentation for setAnimationDidStopSelector in the XCode 3.2.1: says this: "...The message sent to the animation delegate after animations end. The default value is NULL. The s

Re: UIView animation docs question

2009-11-03 Thread Klaus Backert
On 3 Nov 2009, at 23:23, lorenzo7...@gmail.com wrote: Here's the code: [UIView beginAnimations:@"display" context:NULL]; [UIView setAnimationDuration:0.30]; [UIView setAnimationDelegate:self]; [UIView setAnimationDidStopSelector :@selector(animationDidStop:finshed:context:)]; Really "fins

[Moderator] Re: UIView animation

2008-04-06 Thread Scott Anguish
On Apr 6, 2008, at 5:17 PM, Benjamin BERTRAND wrote: Hi, I'm new to cocoa and have started to develop a board game for the iPhone. Discussion of iPhone SDK development is not allowed here. The SDK is covered by a Non-Disclosure Agreement. Thanks Scott (moderator) __