Skip to content

A concise water wave animation process view.纯代码手写的一个现实充电进度的动画控件

License

Notifications You must be signed in to change notification settings

Jvaeyhcd/HcdProcessView

Repository files navigation

HcdProcessView

A concise water wave animation process view.

Version Platform License Tag Author Codewars

Example

Requirements

  • Xcode 6 or higher
  • iOS 7.0 or higher
  • ARC

How to use

Manual Install

All you need to do is drop HcdProcessView files into your project, and add #include "HcdProcessView.h" to the top of classes that will use it.

CocoaPods

pod 'HcdProcessView'

Example

HcdProcessView *customView = [[HcdProcessView alloc] initWithFrame:
                                  CGRectMake(self.view.frame.size.width * 0.1, 70,
                                             self.view.frame.size.width * 0.8,
                                             self.view.frame.size.width * 0.8)];
customView.percent = 0.6;
customView.showBgLineView = YES;

[self.view addSubview:customView];

Contact

If you have some suggest please post me an issue.

LICENSE

MIT License.

About

A concise water wave animation process view.纯代码手写的一个现实充电进度的动画控件

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published