Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
3D cube transition for UITabBarController
Objective-C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CubeTabBarController.xcodeproj
CubeTabBarController Randomly change the background color along with the animation type.
LICENSE Added license
README.md How about this url?
midrotation.png Image without the chrome.

README.md

CubeTabBarController

The normal switching between view controllers on UITabBarControllers is boring. No animation whatsoever. So I decided to add a cube animation. It uses CoreAnimation to be able to rotate around the Y-axis (the one pointing out of the top of the phone). I had to use CATransformLayer to preserve the 90° angle while keeping the edges of the views touching.

I actually started with using iOS 5's container api and got it working with that, but then tried to see whether I could get it to work with a subclass of UITabBarController.

Mid rotation

NOTE: This project is built with ARC if you need to use it with MRR you'll have to add all the proper methods.

Something went wrong with that request. Please try again.