Skip to main content
Version: 12.10.0

ProgressBar Component

The progressBar component is a reusable progressBar that allows you to create customizable progressBar by setting with progress value, total value and active progressBar color.

Features

  • Create progressBar.
  • Customize progress value, total value, active progressBar line color
  • Interact with progressBar by setting initial value and total value.

Installation

  1. Copy the ProgressBar component folder into your Xcode project.

  2. Use the OCProgressBar view in your SwiftUI code:

import SwiftUI

struct ContentView: View {

var body: some View {
VStack{
OCProgressBar(progressValue: 2, totalProgressValue: 8)
}
.padding()
}
}