Top "Calayer" questions

CALayer is a Core Animation class in the Quartz Core framework.

How to prevent CALayer from implicit animations?

When I set the backgroundColor property of an CALayer instance, the change seems to be slightly animated. But I don't …

iphone calayer
CATransform3D rotate causes half of image to disappear

I'm using the following code to rotate an image, but half the image (down the y-axis) that has been rotated "…

iphone quartz-graphics transform calayer catransform3d
sent to deallocated instance

Whenever I push a view controller onto my stack, then pop it off, I get this error: *** -[CALayer retainCount]: …

iphone objective-c calayer retain
CALayer autoresizingMask not for iOS SDK?

I noticed, what CALayer, on iOS SDK haven't autoresizingMask property. I'm not sure what custom overloading of method "setFrame:" can …

ios core-animation calayer quartz-core
Applying transformed image layer to renderInContext:

Background I am using Erica Saduns Cookbook example from Chapter 8, Example 14 — Resize and Rotate to obviously resize and rotate a …

ios ipad core-graphics calayer layer
draw CALayer into a CGContext

I have the following code: CGContextRef context = UIGraphicsGetCurrentContext(); CGContextSaveGState(context); CALayer *sublayer = [CALayer layer]; sublayer.backgroundColor = [UIColor orangeColor].CGColor; sublayer.…

calayer cgcontext
Custom CALayer - invalid context 0x0

I'm trying to build an app that use layers, my app structure is UIView --> UIScrollView --> UIView …

ios5 calayer cgcontext quartz-core
Using circular progress bar with masked image?

I am working on a circular progress bar for custom game center achievements view and I have kind of "hit …

objective-c core-graphics calayer drawrect
Draw arc segments using UIBezierPath

I know there are lots of example related to UIBezierPath, but I am very confused about the angles to use …

ios objective-c geometry calayer uibezierpath
Origami transition using CATransform3D perspective

I'm trying to achieve a kind of origami transition on two UIView using only layer capabilities. The idea is to …

iphone animation calayer perspective catransform3d