I was studying about begin animation with UIView, usually in most tutorials they always use the same syntax:
[UIView beginAnimations:nil context:NULL];
I see in the code that inside the beginAnimation we can put a nsstring, and in context a void function, right? For that I do this:
[UIView beginAnimations:@"Will Start" context:@selector(start)];
-(void)start{
NSLog(@"Animation Running");
}
But the nsstring 'will start' was not showing to me, and the void function 'start' don't called. I do not know if I'm doing it in the wrong way, but what do those options BeginAnimation of NSString type and the type context of type void? Could someone give me an example?