How is this app made?

Discussion in 'iOS Programming' started by BoxerRobban472, Jun 12, 2017.

  1. BoxerRobban472 macrumors member

    Sep 12, 2013
    Gothenburg, Sweden
    Hi everyone!

    I'm quite new to iOS development and don't really know a whole bunch about it. However, I stumbled upon an app which lets you create a ripple effect on a picture of your choice, like the picture was the "water" and you could interact with it. (This is the app: ), and I'm just curious; How would you go about to create something like this? I have tried googling and am really drawing a blank when it comes to model it programmatically, do you guys have any ideas?

    Thank you!

    Kind regards,
  2. Mascots macrumors 68000


    Sep 5, 2009
    A long time ago, you could access it through a CATransition...

    Edit: I looked it up and it's not necessarily documented but it's not necessarily private.

    CATransition *animation = [CATransition animation];
    [animation setDelegate:self];
    [animation setDuration:2.0f];
    [animation setTimingFunction:UIViewAnimationCurveEaseInOut];
    [animation setType:@"rippleEffect" ];
    [myView.layer addAnimation:animation forKey:NULL];
  3. BoxerRobban472 thread starter macrumors member

    Sep 12, 2013
    Gothenburg, Sweden
    Wow! Thank you for sharing, now I know what I'm going to be doing this weekend!

Share This Page