Git Product home page Git Product logo

linearprogressbar's People

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  avatar  avatar  avatar  avatar

linearprogressbar's Issues

Corner radius

I want to add corner radius in main progress view and in track as well. any options?

Gradient color

How could I set a gradient color instead of the barColor ? Thanks

It's not animating.

UIView.animate(withDuration: 0.5) { [weak self] () -> () in
      self?.progressViewBar.progressValue = weight
}

Edit scope class LinearProgressView

With some project swift, i have a problem when I use "@IBOutlet weak var ".
I found a solution.
Edit scope LinearProgressView to public:
@IBDesignable public class LinearProgressView: UIView {
and modify func drawRect -> override public func drawRect(rect: CGRect) {
It's work for me!

ProgressBar not properly rendering.

I have created simple view and set custom class to LinearProgressBar. Its not rendering properly. My view background color is white but Bar color is different as attached in image. But it always shows extra white spacing from left and right where Bar starts and end. I tried to explore properties but still same.

What will be the solution for this? Bar is not covering full view. White spaces at Bar start and end.

Screenshot 2023-01-30 at 12 41 06 PM

Screenshot 2023-01-30 at 12 41 48 PM

Screenshot 2023-01-30 at 12 42 22 PM

Naming

Hello,

I think it would be a good idea to add a prefix to your pod classes. Even tough it's not necessary for Swift projects, it's still good practice in the Objective-C world (which is going to be around for a while).

Also, I was confused that the pod is named LinearProgressBar and the actual class is called LinearProgressView.

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.