iOS Open Source : Doorway Transition with CoreAnimation

Ken Matsui has written a unique transition for moving between views that I want to share with you – the effect is similar to sliding open two doors, with the following view moving toward the front of the display in a smooth, sliding motion.

The images below show the basic idea, however, you owe it to yourself to download and run the demo project to get the full effect.

And the best part of integrating the transition into your project, the code is as simple as shown below:

MFDoorwayTransition *transition = [[MFDoorwayTransition alloc] 
   initWithBaseView:self.view
   firstView:self.currentView 
   lastView:self.nextView];
[transition buildAnimation];
[transition release];
Download Doorway Transition

You can download DoorwayTransition from github.

Open Source Recommendations ?

Have you written or worked with iOS or Cocoa open source that you think others would find interesting, send me a note.

Comments are closed.