I am Johnykutty Mathew, currently working as a Software Engineer at Delivery Hero SE.
Connect me on LinkedIn.
Stepped ProgressBar for iOS
License: MIT License
I am Johnykutty Mathew, currently working as a Software Engineer at Delivery Hero SE.
Connect me on LinkedIn.
On Xcode 8.2, I am unable to run the sample project due to swift 3.0 support issue. This project is either using old swift syntax or it has some issues in build settings.
I have wrapped this progress bar inside a scrollview. But this progress bar is still not scrollable.
I have tried to alter the width and all the possible things to do as i am using scrollviews extensively in my app. But it is not working in your library.
Indeed i have added some other objects in the scrollview and it scrolled fine.
But i thing. Progress bar is not appending its content width even after adding the values programatically.
Attaching the picture also.
Following is the code for more context.
`
progressbar.titles = ["Personal Details", "Address", "Submit", "Forth", "Fifth", "Sixth"]
progressbar.images = [
UIImage(named: "signup_identify_off")!,
UIImage(named: "signup_address_off")!,
UIImage(named: "signup_identify_off")!,
UIImage(named: "signup_approved_off")!,
UIImage(named: "signup_address_off")!,
UIImage(named: "signup_approved_off")!
]
progressbar.activeImages = [
UIImage(named: "signup_identify_on")!,
UIImage(named: "signup_address_on")!,
UIImage(named: "signup_approved_on")!,
UIImage(named: "signup_address_on")!,
UIImage(named: "signup_identify_on")!,
UIImage(named: "signup_approved_on")!
]
progressbar.currentTab = 1
progressbar.stepDrawingMode = .image
progressbar.justCheckCompleted = true
progressbar.tintActiveImage = true
`
Hello,
Thank you for your amazing library.
It's possible implement the change current tab index with animation?
Thanks
I updated pod but still, there is nothing like active step or images in framework yet.
change number of steps ? please
I am taking this up
Is there any way to change the color of one step instead of all?
Unable to compile pods due to the error above.
Line 277:
Fix: Change NSAttributedStringKey -> NSAttributedString.Key
Hello, All things are wonderful and working like a charm but I have one suggestion. I want to achieve a progress bar like this way. Please see attached screenshot.
Let's assume I have a below status and want to show it some of them active and inactive based on the activities received from the APIs.
Progress Status
It would be nice if I can achieve this and an active/inactive index can be manageable rather than sequence index.
Thanks
Hello, Thanks for this awesome pod to make progressStep easier
I have one suggestion, is possible to have public var to change inset between checked Image and circle
Now by default it's 8 in UIImage+UIColor.swift:
func draw(inside rect: CGRect) {
let insideRect = rect.insetBy(dx: 8, dy: 8)
self.draw(in: insideRect)
}
Cause I have image with white background color and i want it to take all circle like this:
Or is there a way to change checked background color to white ??
Sorry, guys, but you have a problem with your understanding of circle radius. Change it to "circle diameter", please.
Here link to Wiki: https://en.wikipedia.org/wiki/Radius
Hi Team,
Thanks for the great lib.
I added pod for pod 'JKSteppedProgressBar'
to the app, but that is having a older code which doesn't support images as param to be pass.
In the given code I can found that it is there.
How can I take the latest version via pod ? please help on the same.
I need this functionality so user can click on any step and that has to be selected.
I have not found any function to add click listener or steps including images and title as 1 object.
If i get that click listener. Rest can be done. Please guide me. Thanks
After doing a pod deintegrate followed by a pod install, every single time I have to replace NSAttributedStringKey
from within the pod with NSAttributedString.Key
since it was renamed and obsoleted in swift 4.2. It happens at 4 places, 2 from within the same line of screenshot 1.
Screenshots :
Hi
I figured out a strange issue when I try to build application:
Pods/JKSteppedProgressBar/JKSteppedProgressBar/Classes/SteppedProgressBar.swift:161:27: 'NSForegroundColorAttributeName' has been renamed to 'NSAttributedStringKey.foregroundColor'
I had to set up on podfile: "pod 'JKSteppedProgressBar'", and i'm using swift 4.0 in project.
Do you have any ideias to solve this issue?
Very nice control, I like it. But sometimes I don't want to have the step number display inside the circle, there should be an API to display the a completed step as a full circle vs an empty circle representing a step not completed
something like this
https://designmodo.com/wp-content/uploads/2013/02/711.jpg
thanks
hii,sir could u please help me. I'm new to developing field ,I want to show the stepper in 5 view controllers as step by step process.. thank you in advance
Hi
how do I make it look vertical.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.