Skip to content

Mindinventory/MIStepBar

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

iOS-Step-Bar

Use this swift 5 supported library MIStepBar and track your food order, your purchase order or the booked appoinment many more things..!!!

Checkout this super easy stepped bar integration and example.!!!

Installation

To install it, simply add the following line to your Podfile:

pod 'MIStepBar', git: 'https://github.com/Mindinventory/MIStepBar', branch: 'main'

Then run pod install from the Example directory.

Manually

You could directly copy and add the folder MIStepBar which contains 'StepBar.swift' file to your project.

Usage

And then remember to import MIStepBar module before using it.

Change the class of a view from UIStackView to StepBar

@IBOutlet weak var stepBar: StepBar!

Programmatically:

override func viewDidLoad() {
  super.viewDidLoad()
    
  stepBar.stepTitles = ["Book Appointment", "Payment", "Confirmed"]
  stepBar.stepSubTitles = ["Dt 2020/11/02", "Dt 2020/11/04", "Dt 2020/11/06"]
  stepBar.stepSelectedImages = ["calendar","check","credit-card"]
}

Manually Update Step:

stepBar.currentStepValue = 2

Customization Stroyboard and Xib (Optional)

After adding a UIStackView to Stroyboard or Xib, change its class to StepBar. Then you are able to config it as this demonstration:

Requirements

  • iOS 13.0+
  • Xcode 13.0+

πŸ“± Check out other lists of our Mobile UI libraries



πŸ’» Check out other lists of Web libraries



πŸ“ Get FREE Industry WhitePapers β†’

Check out our Work



πŸ“„ License

iOS-MiStepBar is MIT-licensed.

If you use our open-source libraries in your project, please make sure to credit us and Give a star to www.mindinventory.com

app development

About

Use this swift 5 supported library MIStepBar and track your food order, your purchase order or the booked appointment many more things..!!!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published