In earlier posts, I created some examples of iOS view controller transitions. Those examples were set up in a way that would allow for the simplest explanation of the concepts, but were not architected using the ‘best practices’ I would use when setting up a transition in my own projects. In this post, I’ll share some ideas that can improve reusability and stability of the code.
For the first post in this series, read here.
In the previous post, we examined why animated transitions can be so important in iOS and looked at some simple examples. In this post, we will continue with more complex examples.
iOS has always had a heavy emphasis on animations, and for good reason. Animations can not only add some extra aesthetic appeal, they facilitate a functional understanding of an interface. Animations give users useful visual cues and context. In iOS, one of the most important applications of this concept is transitioning between ‘scenes’ of an application, or in programmer speak, switching from one UIViewController to another. In this post I will explain how to accomplish custom transitions between iOS scenes using Interface Builder and objective C.