iphone Programming Glossary: functionwithname
Basic keyframe animation (rotation) http://stackoverflow.com/questions/1031177/basic-keyframe-animation-rotation .5 NSNumber numberWithFloat 1.0 nil animation.timingFunctions NSArray arrayWithObjects CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseIn from keyframe 1 to keyframe 2 CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseOut.. functionWithName kCAMediaTimingFunctionEaseIn from keyframe 1 to keyframe 2 CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseOut nil from keyframe 2 to keyframe 3 animation.removedOnCompletion NO animation.fillMode kCAFillModeForwards..
How can I enforce an specific direction (i.e. clockwise) of rotation in Core Animation? http://stackoverflow.com/questions/1149635/how-can-i-enforce-an-specific-direction-i-e-clockwise-of-rotation-in-core-ani 0.5 NSNumber numberWithFloat 1.0 nil animation.timingFunctions NSArray arrayWithObjects CAMediaTimingFunction functionWithName kCAMediaTimingFunctionLinear CAMediaTimingFunction functionWithName kCAMediaTimingFunctionLinear nil layer addAnimation.. NSArray arrayWithObjects CAMediaTimingFunction functionWithName kCAMediaTimingFunctionLinear CAMediaTimingFunction functionWithName kCAMediaTimingFunctionLinear nil layer addAnimation animation forKey @ transform.rotation.z If you're after counterclockwise..
After Animation, View position resets http://stackoverflow.com/questions/226555/after-animation-view-position-resets NO animation.repeatCount 0 animation.duration 0.25 animation.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut self.view.layer addAnimation animation forKey @ moveX Which animates the view perfectly...
Reading PDF files as string through iPhone application http://stackoverflow.com/questions/2362393/reading-pdf-files-as-string-through-iphone-application transition CATransition animation transition.duration 0.75 transition.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut transition.type kCATransitionPush if yesOrNo transition.subtype kCATransitionFromRight..
iPhone CATransition adds a fade to the start and end of any animation? http://stackoverflow.com/questions/2375850/iphone-catransition-adds-a-fade-to-the-start-and-end-of-any-animation setSubtype kCATransitionFromTop animation setRemovedOnCompletion YES animation setTimingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionLinear self.view layer addAnimation animation forKey nil as far as I can tell this is pretty standard..
How to animate the change of image in an UIImageView? http://stackoverflow.com/questions/2834573/how-to-animate-the-change-of-image-in-an-uiimageview transition CATransition animation transition.duration 1.0f transition.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut transition.type kCATransitionFade imageView.layer addAnimation transition forKey nil..
UIImageView Touch Event http://stackoverflow.com/questions/3775577/uiimageview-touch-event image1 transition1 CATransition animation transition1.duration 0.75 transition1.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut transition1.type kCATransitionReveal transition1.subtype kCATransitionFromRight transitioning.. image1 transition2 CATransition animation transition2.duration 0.75 transition2.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut transition2.type kCATransitionFade transition2.subtype kCATransitionFromRight transitioning..
iPad: Animate UILabels color changing http://stackoverflow.com/questions/3944416/ipad-animate-uilabels-color-changing .CGColor colorAnimation.toValue id UIColor greenColor .CGColor colorAnimation.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionLinear CAKeyframeAnimation scaleAnimation CAKeyframeAnimation animationWithKeyPath @ transform NSArray.. animation animationGroup.duration animationDuration animationGroup.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionLinear animationGroup.fillMode kCAFillModeForwards animationGroup.removedOnCompletion NO animationGroup.animations..
Why animating custom CALayer properties causes other properties to be nil during animation? http://stackoverflow.com/questions/4016496/why-animating-custom-calayer-properties-causes-other-properties-to-be-nil-during 100.0 theAnimation.toValue NSNumber numberWithDouble 50.0 theAnimation.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut circleLayer addAnimation theAnimation forKey @ animateRadius circleLayer.radius NSNumber..
Animate UILabel text between two numbers? http://stackoverflow.com/questions/5301305/animate-uilabel-text-between-two-numbers animation animation.duration 1.0 animation.type kCATransitionFade animation.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut myLabel.layer addAnimation animation forKey @ changeTextTransition Change the text myLabel.text..
Can I use CGAffineTransformMakeRotation to rotate a view more than 360 degrees? http://stackoverflow.com/questions/542739/can-i-use-cgaffinetransformmakerotation-to-rotate-a-view-more-than-360-degrees YES rotationAnimation.repeatCount 1.0 rotationAnimation.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseOut myView.layer addAnimation rotationAnimation forKey @ rotationAnimation share improve this..
iPhone UIView Animation Best Practice http://stackoverflow.com/questions/630265/iphone-uiview-animation-best-practice 1 applicationLoadViewIn setType kCATransitionReveal applicationLoadViewIn setTimingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseIn myview layer addAnimation applicationLoadViewIn forKey kCATransitionReveal but there are also..
Views Navigation Using Swipe Gesture http://stackoverflow.com/questions/6326816/views-navigation-using-swipe-gesture transition CATransition animation transition.duration 0.75 transition.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut transition.type kCATransitionPush transition.subtype kCATransitionFromBottom transition.delegate..
iPhone Core Animation - Drawing a Circle http://stackoverflow.com/questions/7991086/iphone-core-animation-drawing-a-circle with timing to get the appearence to look the way you want drawAnimation.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseIn Add the animation to the circle circle addAnimation drawAnimation forKey @ drawCircleAnimation..
|