Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/domesticcatsoftware/DCControls
iOS Rotary Knob & Slider controls. All custom drawing, no images, customizable.
https://github.com/domesticcatsoftware/DCControls
Last synced: 2 months ago
JSON representation
iOS Rotary Knob & Slider controls. All custom drawing, no images, customizable.
- Host: GitHub
- URL: https://github.com/domesticcatsoftware/DCControls
- Owner: domesticcatsoftware
- License: mit
- Created: 2011-04-26T07:57:06.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-05-25T05:11:21.000Z (over 13 years ago)
- Last Synced: 2023-10-20T19:24:35.596Z (about 1 year ago)
- Language: Objective-C
- Homepage: http://domesticcat.com.au/projects/
- Size: 549 KB
- Stars: 237
- Watchers: 21
- Forks: 52
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
- awesome - DCControls - iOS Rotary Knob & Slider controls. All custom drawing, no images, customizable. (etc)
- awesome - DCControls - iOS Rotary Knob & Slider controls. All custom drawing, no images, customizable. (etc)
README
DCControls
==========DCControls provides some custom controls for use in iOS 3.2+. These controls are the same as used in our app [Midi Touch](http://domesticcat.com.au/apps).
You can follow me on Twitter: [@patr](http://twitter.com/patr), and check out our commercial apps at [domesticcat.com.au](http://domesticcat.com.au/apps).
DCKnob (subclass of DCControl)
------------------------------![DCKnob Demo Image](http://domesticcat.com.au/projects/dcknob/dcknob-small.png)
A rotary knob with all custom drawing. Highly customizable, including:
* Color
* Bi-directional or normal modes
* Arc start angle, cutout size, width
* Gestures (double and triple tap)
* Min/Max values
* Label font, color, offset, or no label at allDCSlider (subclass of DCControl)
--------------------------------![DCSlider Demo Image](http://domesticcat.com.au/projects/dcslider/dcslider-small.png)
A slider with all custom drawing. Properties include:
* Color
* Bi-directional or normal modes
* Corner radius
* Min/Max values
* Label font and color, or no label at allUsage
-----Does not require any external frameworks. Simply add DCControl, DCKnob & DCSlider to your project (depending on what you want to use).
Create a control using initWithDelegate, then implement controlValueDidChange:sender: to receive control updates.
License
-------All work is under MIT license.
More Info
---------For more info, see [domesticcat.com.au/projects/](http://domesticcat.com.au/projects/).