Skip to content

domesticcatsoftware/DCRoundSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCRoundSwitch

Twitter: @patr

Our commercial apps: domesticcat.com.au

About

DCRoundSwitch is designed to be a drop in replacement for UISwitch. It is styled 'modern' so will unify the look of your apps into the future whilst retaining backwards capability. Drawing is done in CoreGraphics so no images are required.

It should behave exactly the same as a UISwitch API wise, if it doesn't please file a bug, or preferably send me a pull request.

Round Switch Demo Image

Usage

To use it, add the files in the DCRoundSwitch folder to your project and add the QuartzCore framework to your project.

If you you it in your project, we'd love to hear about it: contact@domesticcat.com.au.

Extra features

  • onTintColor
  • onText
  • offText
  • resize the frame to whatever you want to make fatter/skinnier controls

License

Made available under the MIT License. Attribution would be nice.

Collaboration

If you have any feature requests/bugfixes etc. feel free to help out and send a pull request, or create a new issue.

About

A 'modern' replica of UISwitch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published