Git Product home page Git Product logo

mlmprogresscollection's Introduction

MLMProgressCollection

###主要功能

1.水波
2.圆形进度条和刻度,也可以将两种进行组合
3.简单统计

###水波进度 ####更新:添加borderPath 属性,可以自定义水波的容器,也在UIView+MLMBorderPath中提供了几种容器样式,使用者也可以自己在其中添加样式

image

使用 将 waterWave 文件夹拖入工程

 borderPath 边界path,水波的容器
 order_fillColor 容器填充色
 border_strokeColor 容器描边色     
 
 topColor 深色水纹的颜色
 bottomColor 浅色水纹的颜色
 progress 设置进度(0-1)
 progress_animation 设置进度改变时是否使用动画,默认YES


 其他属性可以微调水波的样式:
 wave_Amplitude 振幅,默认设置为view的1/20,具体可以自己设置
 wave_Cycle 周期,默认设置为一个周期是view宽度的0.9
 wave_distance 深色波纹和浅色波纹之间的偏移,默认偏移,一个周期宽度的0.8

 wave_scale 调节波纹速度
 progress_scale progress_animation设置为YES时调节动画速度

###仪表盘 image

MLMCalibrationView + MLMCircleView 实现不同样式的仪表盘

具体使用,我已经在MLMProgressView写了两种样式的例子,你也可以使用上述两种view进行组合
将 instrument 和 help 文件夹直接拖入工程

###统计 image

使用 将 statistical 文件夹拖入工程

####待升级

1.进度条颜色渐变设置
2.刻度添加表针,能实现简单时钟效果最好
3.其它...
4.刻度表盘现有一bug需修复,设置度数0-360时,起点终点刻度值重叠
5.统计样式添加动画效果

mlmprogresscollection's People

Contributors

mengliming avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.