The WWDC 2011 closed its doors 10 days ago. This year it was all about software for both the iOS and the Mac OS X. Many people were expecting new Macs and a new iPhone, but no new hardware for the moment. Instead, a new release of the Mac OS X (Lion) and a new release of the iOS (both in beta version for the moment) were the main novelties together with the new iCloud.
It is time to give a look at some more advanced Core Animation techniques. In the previous posts, I reviewed the main concepts related to an animation and the different types of animations you can implement with the CA framework. I hope the difference between a basic animation, a group animation and a keyframe animation is clear now. If not, just drop me a mail with your doubts. Or, if you are at the WWDC, come to say hi and I will be happy to answer your questions.
Let’s continue with this tutorial on Core Animation. It’s time to go with the keyframe animations.
Keyframe animations are represented by the class CAKeyframeAnimation. They provide you with more precise control on your animations. While for a basic animation (CABasicAnimation) you just define a starting and an ending value for an animatable property and Core Animations calculates the intermediate values, the keyframe animations allow you to provide the values between the beginning and the end of the animation.
Now that we know what a layer is as we have seen in the previous post of this series, let’s start to use the Core Animation framework. In the first post, we investigated the simple animations offered by the UIView class and I also mentioned the limitations of those methods. Here, we start to use the animations applying them to the layers.
I hope you enjoyed last post about the View Animations, as I am enjoying the Core Text post by Eva. We will combine Core Animation and Core Text just for fun. I also hope you had the opportunity to play a little bit with the different methods provided with the UIView class as shown in the previous post.
Absolutely beyond my expectations, I am receiving a lot of questions about the Augmented Reality we implemented in some of our iPhone applications. Honestly, I expected the “Wow!” or “Cool!” from final users and not from other developers, but then, I realized that many of the iOS developers out there do not have enough mathematical background to make those geometrical calculations.
One of my favorite iOS frameworks is for sure Core Animation, because it offers you some powerful tools to realize what you create with your imagination.
In previous posts, I showed a little bit how to use Core Graphics and now it’s time to give a look at how to use Core Animation, so that you can combine these two frameworks to create beautiful things.
Many people laugh at me when I say that our team is distributed among San Francisco, Barcelona, Rome and Abu Dhabi. It sounds funny and they do not understand how we can develop applications being located in different place of the world. I think we work together very well and create great stuffs together. Even if new people are joining and will join the team, this “long-distance shifted-time” model works very well for us.
Interview about the Mac App Store by the Bloc d'Apple en Català
Here, an interview about the recently announced Mac App Store from Miquel Labòria (@miquellaboria), who manages the Blog on Apple in Catalan (Bloc d’Apple en Català). The interview is only in Catalan and Spanish.