CAGradientLayer « animation « iPhone iPad Media Q&A

Home
iPhone iPad Media Q&A
1.animation
2.audio
3.AVAudioPlayer
4.box2d
5.cocos2d
6.CoreGraphics
7.CorePlot
8.Flash
9.graphics
10.icon
11.image
12.photo
13.plot
14.sound
15.video
iPhone iPad Media Q&A » animation » CAGradientLayer 

1. How to use CAGradientLayer?    stackoverflow.com

I'm getting up to speed with the new APIs introduced in OS 3.0, especially the cool new improvements to Core Animation (mostly on CALayer etc...). Now I'm trying to figure out ...

2. CABasicAnimation in a CAGradientLayer not working - what am I doing wrong?    stackoverflow.com

I have a custom UITableView cell which has a button and a label. I fire a method when someone taps on the button, and then color that row. It's all working ...

3. How do I rotate a CAGradientLayer by 180 degrees?    stackoverflow.com

I have created a CAGradientLayer for my custom UIButtons. The code for creating it is as follows:

CAGradientLayer *gradient = [CAGradientLayer layer];

gradient.frame = btn.bounds;
gradient.cornerRadius = 10.0f;
locations=[[NSArray alloc] initWithObjects: LOC_0, LOC_5, LOC_51,LOC_1, ...

4. CAGradientLayer slow?    stackoverflow.com

I have a series of CAGradientLayers which are made when a view is loaded, but scrolling through them causes a bit of lag. Is there a way to reduce this lag? ...

5. Why is my CAGradientLayer animating all changes?    stackoverflow.com

I have a CAGradientLayer that I want to scale as the user drags there finger. However, when I set the frame, the layer animates to the new size. This happens with ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.