Giter Site home page Giter Site logo

efcircularslider's Issues

Value on the circle move

Your EFCircularSlider it just amazing and the cuztomization with my needs are so easy to use i want to make than in the circle is move arounde the big circle in the circle that moves around to show the value instead on a label, i have some issue trying to implement this featured.
How you mind helping me with this issue???

Maximum Value and Value per step

First of all thanks for such a cool control.
I'm using your control in my app for the purpose of time selection. User can select amount of time upto 12 hours. For precision purposes I'm using 0 seconds as min and 43200 sec as max value. Now I'm facing 2 problems:

  1. Every time the I move the handle the value is incremented by 120sec which means a step of 2 mins. I want it to be 60 sec. But i'm able to find the code where i can edit it.
  2. On an analog clock after 11:59 we go to 00:00. That's understandable But unluckily my requirement is that I can go to 12h. But it jumps to 0 after 11:58. if i increment my max value by another 2 mins then it solves the problem but a space can be seen between the fill line ends. Tell me if something is possible for this case.

Can't change currentValue

Every time I call "setCurrentValue" the value received is OK, the currentValue is changed but in drawRect, currentValue stay at 0...

And it's the same with maximumValue.

Clipping on sides of slider

Perhaps it's just me, but I've noticed that the top, bottom, left, and right side of the slider are just slightly clipped.

Set UIImage to Handle

Is it possible to set an image as the the circular slider handle?

Something like:
circularSlider.handleType = CircularSliderHandleTypeCustom
would be great.

Snap to first label from left side

The slider won't snap to the first label from the left side. It always snaps back to the previous one.

To reproduce:

  • Open the demo
  • Go to the snap to labels example
  • Drag the slider to 99% or just to the left of the 'A'
  • It should snap to the 'A' but it snaps to the 'E' instead

Degree in circular slider

I love your circular slider! Just a few days and it has already gathered many likes.

Would like to know if it is possible to have a circular slider like the one used in clock to have it used with 999 values. However, the most chosen values are 1-20 so if that is the case, the slider will usually remain in less than the first quarter of the circle.

I was thinking of a circular slider that utilizes degree as a reference, for example, 1-30 belongs to 360 degree. When I slide around within the 360 degree (1 circle), I will be able to choose only 1-30. Continuing the degree toward 720 degree will get me values of the range 30-60 or if there is momentum, the values will be higher and goes straight to 999 when I slide within 3 rounds. This would be fun for the users.

I wonder if this is doable in the current version, if so, how do I proceed?
@Gissues:{"order":50,"status":"inprogress"}

Slider captures all touch gestures that begin outside of circle but within the frame rectangle

Concentric circles are cool, man. But when you have some sliders are laid on top of each other quite close, (like the time picker demo), touch events get mucked up.

The culprit is the following in EFCircularSlider:

-(BOOL) beginTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event {
    [super beginTrackingWithTouch:touch withEvent:event];

    return YES;
}

This should do a bounds check with the circle first โ€” only if the touch lies within the circle should the tracking begin. Otherwise, the touch should fall through to the next picker (say, the hour picker), whose circle bounds check should succeed.

How to start Slider from Bottom ?

@eliotfowler
Hello Sir,
Your Library is very good to use. But I'm not able to start the slider from bottom. If you can please help I will be thankful. And another thing make something like Semi Circular slider and give it like another property of circular slider. The function DrawLine is not there in tour code to edit.

Setting currentValue animated

Setting the currentValue of the slider directly works perfectly. When I try to set it in an animation though the drawn elements are not properly rendered.

This is how I tried to animate:

[UIView animateWithDuration:1.f animations:^{
    self.hourSlider.currentValue = 50;
}];

It would be cool to have a setCurrentValue:animated: similar to UIProgressView's setProgress:Animated:.

For Android

Is this slider is available for android ?

How to prevent currentValue from being reset to zero?

First thank you for your working at this to give us so amazing thing.
But I got a problem when I use it.

I wanna use this to get amounts of circle.It means when the currentValue becomes max I get first circle that is an hour.Then if it becomes the second max, I get second circle means two hours.

Now here, I don't know how to detect when is a circle is completed by user.
If the current won't be reset to zero, it will be easy for everything.

Could you help me?

EFCircularSlider and Swift

Hi, when I try to compile the code using EFCircularSlider imported with bridging header in swift I get 18 errors "Explected a type" in EFCircularTrig.h, what could it be the problem?
Thanks.

default value on slider

Hey I love your slider control! But I was wondering if there was a way to have it start out at a predefined default position instead of always at zero? I want to preset my sliders at some predefined value.

Unable to change color of handle

I'm using this circular slider as a music progress bar, and would like to make the handle not visible since it indicates some possibility of user interaction. I tried to set the handleColor to a clearColor and to colorWithHue:0 saturation:0 brightness:0 alpha:0 and neither settings were responsive visually. Based on further testing, my issue is that setting the handleColor doesn't seem to have any effect. I have tested this on all handle types (including leaving type set to the default value).

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.