Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mindinventory/mistepbar
Use this swift 5 supported library MIStepBar and track your food order, your purchase order or the booked appointment many more things..!!!
https://github.com/mindinventory/mistepbar
anim animation progress-bar stepbar stepper stepprogressbar swift tracing xcode
Last synced: about 1 month ago
JSON representation
Use this swift 5 supported library MIStepBar and track your food order, your purchase order or the booked appointment many more things..!!!
- Host: GitHub
- URL: https://github.com/mindinventory/mistepbar
- Owner: Mindinventory
- License: mit
- Created: 2022-06-14T04:55:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-10T12:43:13.000Z (about 2 years ago)
- Last Synced: 2024-10-27T10:39:53.042Z (2 months ago)
- Topics: anim, animation, progress-bar, stepbar, stepper, stepprogressbar, swift, tracing, xcode
- Language: Swift
- Homepage: https://www.mindinventory.com/iphone-application-development.php
- Size: 119 KB
- Stars: 26
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:```ruby
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
```swift
@IBOutlet weak var stepBar: StepBar!
```
Programmatically:```swift
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:
```swift
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 →
## 📄 License
iOS-MiStepBar is [MIT-licensed](/LICENSE).If you use our open-source libraries in your project, please make sure to credit us and Give a star to www.mindinventory.com