taglia3 / circularslider Goto Github PK
View Code? Open in Web Editor NEWA powerful Circular Slider. It's written in Swift, it's 100% IBDesignable and all parameters are IBInspectable.
License: MIT License
A powerful Circular Slider. It's written in Swift, it's 100% IBDesignable and all parameters are IBInspectable.
License: MIT License
Hi,
I am trying to implement this slider in my project but when i run the file its become crash on a particular line
required public init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
Please tell me how can i resolve this?
Correct me if I'm wrong, but I think is not possible to change the text color from the default dark grey it has now.
It would be very nice to be able to configure that.
Thanks.
Max.
While processing your iOS app, errors occurred in the app thinning process, and your app couldn’t be thinned. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store.
Hello,
Please release a new version compatible with Xcode 10.1 and Swift 4.2.
I can't seem to change the knob color from the lime green.. Any help?
If I want the slider to be just a half circle on the top - it seems that I cannot use the cursor to move around (I used a 4.7 radian). any way to solve this?
I need to use this slider as a Day viewer
Like showing records of 7 Days
So basically I need to create 7 Steps in slider
if I drag slider it should move according to steps like we do in UISlider
Any idea to achieve this
Thanks
Hello taglia3,
Thanks for this fine CircularSlider library.
I get a couple of swift warnings with newest xcode, 8.3.3, mainly M_PI usage and unused runtime attribute 'type'.
I want to fix this. Also I want to add a IBDesignable for the text color of the value label.
Is this project still active? Do you accept a pull-request for these changes?
Thanks, Tom
If set nim value=0
And max value =2
then slider not move to position
How do I get values from the value range that I defined in interface builder?
I installed CircularSlider from CocoaPods and added it in my main.storyboard, then I set the range from 1 to 1000, but I cannot get the values in the range 1-1000... I always get values in the following delegate functions from -2.X to 1.6... to 3.14....
func circularSlider(circularSlider: CircularSlider, didBeginEditing textfield: UITextField) {
//print("\(String(describing: textfield.text))")
}
func circularSlider(circularSlider: CircularSlider, didEndEditing textfield: UITextField) {
print("asdf \(String(describing: circularSlider.title))")
}
}
// MARK: - CircularSliderDelegate
extension ViewController: CircularSliderDelegate {
func circularSlider(_ circularSlider: CircularSlider, valueForValue value: Float) -> Float {
return floorf(value)
}
}
0.0
-1.64434761728344
...
2.98358034030751
3.07363463664357
-3.07239637497121
...
-2.38914958780664
...
-1.53983277461192
-1.460139105621
-1.40709587429103
...
-1.87021156844839
...
2.73103520554794
Hey @taglia3! Great component! I love it ❤️
It would be great if you can expose a configurable property to allow the use of it without the decimals.
Thanks in advance!
Would be nice to add dots/indicators at the snap points
Hi @taglia3 !
It would be great if you can make this enhancement too. Along with the ability to disable the textfield.
Those will be my last requests. Highly appreciate your help :)
Thanks in advance
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.