Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/augustjoki/CubeTabBarController
3D cube transition for UITabBarController
https://github.com/augustjoki/CubeTabBarController
Last synced: 2 months ago
JSON representation
3D cube transition for UITabBarController
- Host: GitHub
- URL: https://github.com/augustjoki/CubeTabBarController
- Owner: augustjoki
- License: bsd-3-clause
- Created: 2011-07-22T04:33:25.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-28T01:40:40.000Z (about 13 years ago)
- Last Synced: 2023-10-20T17:57:08.448Z (about 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 256 KB
- Stars: 156
- Watchers: 4
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - CubeTabBarController - 3D cube transition for UITabBarController (etc)
- awesome - CubeTabBarController - 3D cube transition for UITabBarController (etc)
README
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](https://github.com/augustjoki/CubeTabBarController/raw/master/midrotation.png)
NOTE: This project is built with ARC if you need to use it with MRR you'll have to add all the proper methods.