Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I add text to the steps? #7

Open
hardikamal opened this issue Nov 7, 2018 · 5 comments
Open

How do I add text to the steps? #7

hardikamal opened this issue Nov 7, 2018 · 5 comments

Comments

@hardikamal
Copy link

Hi @chenyun122

Thanks for the awesome lib

How do I add text to the steps?

@chenyun122
Copy link
Owner

chenyun122 commented Nov 13, 2018

@hardikamal, do you mean the text under circle?

@hardikamal
Copy link
Author

@chenyun122 yes, bottom in (left to right) or (right to left) and right/left side in (top to bottom) or (bottom to top)

@Kaakati
Copy link

Kaakati commented Jun 2, 2019

Hello @chenyun122

It would be nice to have a UILabel either top or below circle in horizontal or left size or right side of circle in vertical, similar to this:

@creative-dev-lab
Copy link

Any update on this?

@india2sarthak
Copy link

I've come up with a very basic solution (#29) to achieve this.

Here's how you can use it..

// Initialize progressbar through code or storyboard
   let progressBar = StepIndicatorView()
// Set the data attributes
  progressBar.currentStep = 0
  progressBar.numberOfSteps = 3
// Set the desired titles
  progressBar.titles = ["One",  "Two", "Three"]

And this is how it looks ...

Screenshot 2021-07-19 at 2 46 41 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants