Skip to content

实现波浪正弦动画并带有小鱼跳跃溅起水花。A view with water wave animation inside.

License

Notifications You must be signed in to change notification settings

KittenYang/KYWaterWaveView

Repository files navigation

KYWaterWaveView

一个内置波浪动画的UIView。

A view with water wave animation inside.

Usage

You can use code or xib to create; Then set the properties;

@property (nonatomic, assign) CGFloat waveSpeed;     // Default as 6
@property (nonatomic, assign) CGFloat waveAmplitude; // Default as 6
@property (nonatomic, strong) UIColor   *waveColor; // Default as [UIColor blueColor]

Most importantly, do not forget to call [waterView wave];

When you need to stop the wave,just call [waterView stop];

About

实现波浪正弦动画并带有小鱼跳跃溅起水花。A view with water wave animation inside.

Resources

License

Stars

Watchers

Forks

Packages

No packages published