WaterDropViewDemo Save

This demo mimics the effect of the drop of water, in Objective-c

Project README


This code mimics the effect of the drop of water:

And the origin design is from designer Vadim Gromov, here is Gromov's dribbble. The original design is as follows:


How to use the demo?

The main functions are implemented in the file WaterDropView.m inside. You can also see some interesting things in another file ViewController.m.

If you want to use the effect in your own code, you can do the following (suppose you add the following code in a controller.):

WaterDropView *waterDropView = [[WaterDropView alloc] initWithFrame:self.view.bounds];
[self.view addSubview:waterDropView];
[waterDropView play];

Here's a more deailed tutorial: click me


WaterDropViewDemo is published under MIT License. See the LICENSE file for more.

Open Source Agenda is not affiliated with "WaterDropViewDemo" Project. README Source: PandaraWen/WaterDropViewDemo
Open Issues
Last Commit
5 years ago

Open Source Agenda Badge

Open Source Agenda Rating