- (void)animationStartedWithView:(UIView*)animatedView 
{
   NSLog(@"Rozpoczto odtwarzanie animacji.");
   [animatedView setBackgroundColor:[UIColor whiteColor]];
}

- (void)animationHasFinishedWithView:(UIView*)animatedView
{
   NSLog(@"Zakoczono odtwarzanie animacji.");
   [animatedView setBackgroundColor:[UIColor blackColor]]; 
}

- (void)dealloc
{
   [view release];
   [window release];
   [super dealloc];
}

@end
