MultiProgressView动画显示多个进度的视图

:bar_chart: MultiProgressView 是一个可动画显示的视图,能够在一定时间内展示多个进度。根据建模方式,它可以展示多个进度条,同时进行动画更新。要运行示例项目,您可以克隆仓库并运行 MultiProgressViewExample 目标。以下是基本用法示例:

  1. 程式化将 MultiProgressView 添加到视图层次结构:
let progressView = MultiProgressView()
view.addSubview(progressView)
  1. 使您的类符合 MultiProgressViewDataSource 协议,并设置进度视图的 dataSource:
func numberOfSections(in progressView: MultiProgressView) -> Int {
    return 3
}

您可以根据自己的需求,定制显示多个进度条并控制它们的动画效果。

folder
MultiProgressView::bar_chart:一个可动画显示的视图,描述了一段时间内的多个进度。 模仿UIProgressView 预估大小:192个文件
file
storyboard_ib_outlet.gif 430KB
file
storyboard_identity_inspector.gif 115KB
file
example1.gif 145KB
file
storyboard_data_source.gif 232KB
file
example2.gif 154KB
file
MultiProgressView.h 556B
file
Nimble-umbrella.h 529B
file
Quick-umbrella.h 392B
file
CwlCatchException.h 1KB
file
CwlMachBadInstructionHandler.h 2KB
file
mach_excServer.c 18KB
file
mach_excServer.h 8KB
file
CwlPreconditionTesting.h 1KB
file
DSL.h 15KB
file
NMBExceptionCapture.h 412B
file
NMBStringify.h 755B
file
QuickConfiguration.h 1KB
file
QCKDSL.h 9KB
file
QuickSpec.h 2KB
file
.gitignore 1017B
zip 文件大小:1.14MB