4

Does anyone know is there iPad implementation for Genie animation line on MAC OSx? I would like to create some list on the left side and on an action to make "like OSx" Genie animation to animate moving detail section into list item (like minimizing windows on MAC to the dock icon)

Thanks!

manatwork
  • 1,689
  • 1
  • 28
  • 31
zvjerka24
  • 1,772
  • 1
  • 21
  • 27
  • 1
    I've never heard of one. There's probably a way to do it, but it's not really in-line with Apple's normal design guidelines for iOS. And any from-scratch implementation will be pretty processor intensive or require something like openGL. – Dustin Jul 20 '12 at 12:11

2 Answers2

7

The simplest implementation I've found is BCGenieEffect (https://github.com/Ciechan/BCGenieEffect). Not only is the README extremely easy to understand, the actual implementation is just a few lines. Here's an example (found on their README) that displays how to do this simply:

CGRect startRect = CGRectMake(30, 40, 50, 60);
[view genieOutTransitionWithDuration:0.7 
                           startRect:startRect
                           startEdge:BCRectEdgeLeft 
                          completion:nil];

I just used this in a project and it seems very reliable.

ebandersen
  • 2,362
  • 26
  • 25
4

There is this option. There are many stackoverflow posts about this topic, the standard effect uses private API, but can be found here.

Community
  • 1
  • 1
Paul de Lange
  • 10,613
  • 10
  • 41
  • 56