cocoatoucher / aiflatswitch Goto Github PK
View Code? Open in Web Editor NEWNicely animated flat design switch alternative to UISwitch
License: MIT License
Nicely animated flat design switch alternative to UISwitch
License: MIT License
The function onTouchUpInside
is not getting called. I am making the switch programmatically. I am using Swift 1.3. Could not understand why it is not working. Please help!
AIFlatSwitch/Package.swift The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99.
Maybe someone can set the min version for iOS to 9.0 ? :) Thanks
The example you provided for OnSwitchValueChanged doesn't seem to work. The casting will always fail. When trying to implicitly cast as AIFlatSwitch like so I get an error.
//Cast
let coolSwitch = sender as! AIFlatSwitch
//Error
Could not cast value of type 'AIFlatSwitch.AIFlatSwitch' (0x23c588) to 'aiflatswitch.AIFlatSwitch' (0xc8428).
Is this a bug or am I doing something wrong?
Hello, it would be nice to have a callback blocs for animation did start and animation did end.
What do you think? I have to address this scenario:
I've got the switches tableview's rows, and when the switch changes from off to on, I have to reorder the table, but the animation during the reording is not fine.
Hello,
I really like your library however I just encountered a litte UI-Bug. The drawn uicontrol is too big by 1 pixel for the containing UIView. You can see this behaviour in your example application:
However when running the application it looks normal because the background color of the views are the same. But in my situtation the views background color's were not the same.
I will make a PR to fix this problem.
Feel free to merge.
Best Regards,
David
CocoaPods
and Carthage
are awesome tools and make our life really easier, but there are some devs who still don't know how to use them.
It would be cool to add the Manual installation guide in your README.md
. You can take a look at my iOS Readme Template to see how you can do it.
Hi, will this dependency be update to Swift 3.0?
Hey,
Thanks for your work.
Is there a way to set a color just for the inner circle?
Hi ,is there a quick way to implement blur shadow for the strokes.
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.