-
Recent Posts
Recent Comments
Archives
- February 2023
- July 2022
- December 2021
- November 2021
- April 2021
- January 2019
- November 2018
- April 2018
- June 2014
- November 2013
- October 2013
- September 2013
- July 2013
- March 2013
- January 2013
- November 2012
- October 2012
- August 2012
- March 2012
- January 2012
- December 2011
- October 2011
- September 2011
- August 2011
- July 2011
Categories
Meta
Tag Archives: core animation
SMSquashView
Why Now? Why Me? Lately we’ve been hearing a lot about adding personality and interest to apps with subtle animation, rather than with complex textures. As an animation guy from old times*, I couldn’t be happier about this new focus … Continue reading
Posted in Code, Software
Tagged animation, CALayer, core animation, iOS, iOS 7, iphone, objective-c, Open Source, SMSquashLayer, SMSquashView, UI
5 Comments
Spatter and Spark
Another year-and-a-bit, another successful client project! As of a few weeks ago, Polk Street Press shipped a brand-new storybook, Spatter and Spark. It’s a genuinely endearing tale of two best friends solving problems together in a way that five-year-olds will … Continue reading
Posted in Software
Tagged animation, core animation, iOS, projects, Spatter and Spark
Leave a comment
Premature Completion: An Embarrassing Problem
Working on a project recently, Jerry and I came across an odd bug. We have a two-level UI that allows the user to navigate between several different scroll views. For the sake of keeping things pretty, we want to reset … Continue reading
Posted in Explanation
Tagged animation, bugs, cocoa, code snippet, core animation, iOS, mistakes were made, Mistkaes, sample code
10 Comments
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
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
CALayers v. CGLayers, or, Which Layer, Player?
What’s the Deal? An evergreen source of confusion for developers new to graphics on iOS is the existence of multiple Apple-provided graphics frameworks, and multiple “layer” objects within those frameworks. We’re told to use Core Animation for compositing and animation, … Continue reading