setAnimationDidStopSelector: varias aplicaciones y avanzado
Lunes, 8 de marzo 2010En la mayoría de los casos, ya sea porque estamos acostumbrados o porque hemos visto en clases particulares y en algún texto para setAnimationDidStopSelector así: Texto sin formato Objective-C: [beginAnimations UIView: contexto nulo: null], [setAnimationDuration UIView: 1,5 ] [setAnimationCurve UIView: UIViewAnimationCurveEaseInOut] [setAnimationDelegate UIView: libre], [setAnimationDidStopSelector UIView: @ removeView selector ()]; myView.alpha = 0; [commitAnimations UIView] / / - (void) (removeView [removeFromSuperview MyView] ;) El código anterior establece el auto setAnimationDelegate como delegado y por medio de [...]










