MKRingProgressView Apple Watch风格环形进度控件

MKRingProgressView 的圆环进度动画,长得挺像 Apple Watch 里的那个健身圈,视觉上有冲击力。动画流畅,定制选项也蛮多,颜色、宽度、起止角度都能调,甚至还能搞个超过 100%的进度,炫技完全没问题。

环形进度视图的使用场景挺广,像健身、下载、进度啥的,用这个控件就合适。要是你想做一个像 Activity 那样的效果,它还自带了个示例项目,里面就有三环那种高级用法。

安装也不麻烦,CocoaPodsCarthage都支持。Pod 的话直接加:

pod 'MKRingProgressView'

用 Carthage 的,加到Cartfile

github "maxkonovalov/MKRingProgressView"

配合Interface Builder还能拖控件直接调参数,开发起来比较省心。如果你用的是 Swift 做 iOS UI,这个控件可以省掉不少自定义绘图的麻烦。

如果你正好要做一个有“圈圈”效果的进度展示,不妨试试这个,样式灵活,集成也快,挺省事的。

zip
MKRingProgressView-master.zip 预估大小:81个文件
folder
MKRingProgressView-master 文件夹
file
.gitignore 635B
file
Package.swift 346B
file
README.md 3KB
file
MKRingProgressView.podspec 588B
folder
Example 文件夹
folder
MKRingProgressViewExample.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 170B
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
project.pbxproj 25KB
folder
ProgressRingExample 文件夹
file
AppDelegate.swift 2KB
folder
Base.lproj 文件夹
file
Main.storyboard 27KB
file
LaunchScreen.storyboard 3KB
file
Icon.swift 1KB
folder
Assets.xcassets 文件夹
file
Contents.json 63B
folder
Color 1.colorset 文件夹
file
Contents.json 695B
folder
AppIcon.appiconset 文件夹
file
Icon-20.png 2KB
file
Icon-40.png 3KB
file
Icon-83.5@2x.png 14KB
file
Icon-60@2x.png 9KB
file
Contents.json 2KB
file
Icon-29@2x.png 4KB
file
Icon-29@3x.png 6KB
file
Icon-60@3x.png 16KB
file
Icon-20@3x.png 4KB
file
Icon-40@3x.png 9KB
file
Icon-76@2x.png 13KB
file
Icon-40@2x.png 6KB
file
Icon-76.png 5KB
file
Icon-20@2x.png 3KB
file
Icon-1024.png 198KB
file
Icon-29.png 2KB
folder
Color 2.colorset 文件夹
file
Contents.json 695B
file
Info.plist 1KB
file
ParametersViewController.swift 2KB
file
ViewController.swift 1KB
folder
ActivityRingsExample 文件夹
file
AppDelegate.swift 2KB
file
MKRingProgressGroupView.swift 3KB
folder
Base.lproj 文件夹
file
Main.storyboard 15KB
file
LaunchScreen.storyboard 3KB
file
Icon.swift 2KB
folder
Assets.xcassets 文件夹
folder
icon3.imageset 文件夹
file
icon3@3x.png 1KB
file
Contents.json 340B
file
icon3@2x.png 1KB
folder
icon1.imageset 文件夹
file
Contents.json 340B
file
icon1@3x.png 1KB
file
icon1@2x.png 1KB
file
Contents.json 62B
folder
tab.imageset 文件夹
file
tab@2x.png 2KB
file
Contents.json 336B
file
tab@3x.png 3KB
folder
icon2.imageset 文件夹
file
Contents.json 340B
file
icon2@2x.png 1KB
file
icon2@3x.png 1KB
folder
AppIcon.appiconset 文件夹
file
Icon-20.png 2KB
file
Icon-40.png 4KB
file
Icon-83.5@2x.png 25KB
file
Icon-60@2x.png 16KB
file
Contents.json 2KB
file
Icon-29@2x.png 6KB
file
Icon-29@3x.png 11KB
file
Icon-60@3x.png 27KB
file
Icon-20@3x.png 7KB
file
Icon-40@3x.png 16KB
file
Icon-76@2x.png 22KB
file
Icon-40@2x.png 10KB
file
Icon-76.png 9KB
file
Icon-20@2x.png 4KB
file
Icon-1024.png 261KB
file
Icon-29.png 3KB
file
Info.plist 1KB
file
ViewController.swift 5KB
file
MKRingProgressGroupButton.swift 3KB
file
LICENSE 1KB
folder
MKRingProgressView 文件夹
file
MKRingProgressView.swift 6KB
file
MKGradientGenerator.swift 7KB
file
MKRingProgressLayer.swift 12KB
file
MKRingProgressView.h 566B
file
Info.plist 753B
folder
MKRingProgressView.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 163B
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
project.pbxproj 12KB
folder
xcshareddata 文件夹
folder
xcschemes 文件夹
file
MKRingProgressView.xcscheme 3KB
file
MKRingProgressView.png 181KB
...
zip 文件大小:954.52KB