-
Recent Posts
Recent Comments
- Brian Nickel on Premature Completion: An Embarrassing Problem
- Vladimir Kovalskiy on Integrating Asana and Git
- foon on Integrating Asana and Git
- Vladimir Kovalskiy on Integrating Asana and Git
- Alistair Leszkiewicz on Mistakes Were Made: Description Isn’t Enough
Archives
Categories
Meta
Tag Archives: CALayer
SMShadowedLayer
Impetus For a recent project, we needed to “simulate” or “fake” the look of pieces of paper in a physical environment. We didn’t need fancy physical modeling or curves and curls and folds, just perspective and shadowing during an animation. … Continue reading
Posted in Code, Software
Tagged animation, CALayer, cocoa, core animation, highlights, iOS, Lambert, OS X, shading, shadows, Software, specular
Leave a comment
Mistakes Were Made: Integral Bounds
Here’s another mistake from the day job. (Why do they pay us? Because we do eventually find and correct our errors?) “Misaligned” CATextLayers As you may know, the Core Animation instrument has a flag to “Color Misaligned Images“. This is … Continue reading
Posted in Code
Tagged CALayer, CATextLayer, code snippet, core animation, images, Instruments, iOS, mistakes were made, Mistkaes
Leave a comment
CALayer Internals: Contents
It’s right there in the CALayer documentation: contents An object that provides the contents of the layer. Animatable. @property(retain) id contents Discussion A layer can set this property to a CGImageRef to display the image as its contents. The default value is nil. There’s … Continue reading
CALayer’s Parallel Universe
Ever tried to animate a UIView’s position? It’s easy, using UIView animation class methods like animateWithDuration:animations: and friends. Simply change the position inside the “animations” block, et voila, a pretty animation with the duration of your choice. But have you … Continue reading
