Top "Calayer" questions

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

Custom image mask in iOS

I have a issue with masking images. I do game "puzzle" and have to make custom images. I found and …

iphone ios calayer puzzle cashapelayer
How to add a CALayer to an NSView on Mac OS X

I'm trying to learn how to use and implement CALayer in a Mac Objective-C application, but I can't seem to …

objective-c cocoa calayer quartz-graphics
CALayer autoresizing on iPhone/iPad: How?

I'm trying to create a UIView subclass ("GradientView") that will fill itself with a gradient of various colors. I've implemented …

iphone ipad resize calayer autoresize
How is the relation between UIView's clipsToBounds and CALayer's masksToBounds?

A UIView has a CALayer. That's pretty sure. But both seem to provide something that means the same thing. If …

ios uiview uikit core-animation calayer
How to apply CAGradientLayer as mask of another CALayer?

I have a view, which has a CALayer. When I create a CAGradientLayer and apply it as the mask of …

ios core-animation calayer cagradientlayer
Need better and simpler understanding of CATransform3D

Please go through the images. So this is the code which I got from some online source and it does …

ios calayer caanimation catransform3d
How to draw CALayer border around its mask?

So, I have a CALayer, which has a mask & I want to add border around this layer's mask. For …

ios objective-c calayer mask
Masking an image in Swift using CALayer and UIImage

I'm programming in Swift. I want to mask an image using CALayer and UIImage. I'm creating my mask image programmatically. …

swift uiimageview uiimage calayer masking
How to add a circular mask to a UIImageview and change the frame and centers while doing so?

I would like to add a circular mask to UIImageVIew. Here is the function that am using to add the …

ios uiimageview calayer uiviewanimation cashapelayer
Applying a CIFilter to a CALayer

CI Filters are now available in iOS 5, and I'm trying to apply one to a CALayer, the way you'd do …

ios cocoa-touch calayer core-image