Giter Site home page Giter Site logo

jksteppedprogressbar's Introduction

Hi there ๐Ÿ‘‹

I am Johnykutty Mathew, currently working as a Software Engineer at Delivery Hero SE.

jkmathew

Connect me on LinkedIn.

My Stackoverflow
profile for Johnykutty at Stack Overflow, Q&A for professional and enthusiast programmers

jksteppedprogressbar's People

Contributors

g00m avatar jayahariv avatar jkmathew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jksteppedprogressbar's Issues

spacing between circle and text

image

How do I increase the space between the circle and the tab ??
Also, it would be best if the inactive line doesn't overlap with the active tab

Swift 3.0 support

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.

Scrolling not working after putting this progress bar inside scrollview

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.

Screenshot 2023-05-05 at 2 30 27 PM

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

`

How to scroll progress bar

I tried adding it to scroll view and searched for some property to allow scrolling
It cut from left and right when step increases along with circle spacing
Screenshot 2019-05-22 at 8 55 37 AM

If titles have several lines, only first line is visible

Some of my step titles are too long and end up overlapping. I was hoping the titles would automatically wrap so as not to overlap but they didn't. So then I tried replacing spaces by new lines, but then only the first line appears:

Screenshot 2019-07-11 12 56 46

[Suggestion] I want to achieve active/inactive progress according to index

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.

Screenshot 2020-08-18 at 12 59 40 PM

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

  1. Order Generated - Active
  2. Email Sent - Still pending (So, I want to be that inactive)
  3. SMS Sent - Active
  4. Order Confirmed - Active

It would be nice if I can achieve this and an active/inactive index can be manageable rather than sequence index.

Thanks

Change Inset between checked Image and step circle

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:

Screen Shot 2020-07-10 at 11 48 41

Or is there a way to change checked background color to white ??

Code of Latest version in pod for Adding Images

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.

Click event for each step. Click to move to any step

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

Compiler error to swift 4

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.