Open Source Projects
Download (213K disk image)
The SMDoubleSlider distribution is an open source project that allows Cocoa developers to use sliders with two knobs instead of the standard one knob variety. Below is a screen shot of the test application included with the distribution.
Complete documentation for the code is available on this site and is also included in the distribution available for download.
The SMDoubleSlider code and the related files in this distribution are open source. They are not public domain; they are copyright © 2003-2010 Snowmint Creative Solutions LLC. They are governed by an open source license, which is intended to allow others reasonable freedom in using and modifying the sources, while allowing Snowmint Creative Solutions LLC to retain some control over the project. If you intend to use or modify the source code for this project, you must read and follow the license. The license should be included in the distribution; if not, you can find it at <http://developer.snowmintcs.com/OpenLicense.html>.
Click the image or here for a full size image.
This distribution provides NSSlider and NSSliderCell subclasses which have two knobs instead of one. The user can slide either of the knobs along, with the limitation that the lower knob is always less than the higher knob. The SMDoubleSlider class also supports tabbing through both knobs if keyboard access is turned on.
Note that SMDoubleSliderCell does not handle the tabbing through both knobs. Therefore, if a double slider is placed in a matrix or table column, the user tabbing through will only be able to adjust one of the knobs. This seems to be a general limitation of the NSCell class construction.
Our company news RSS feed is available at http://www.snowmintcs.com/company/headlines.rss. This news feed includes any news about open source projects here at Snowmint Creative Solutions.
Copyright © 2002-2009 Snowmint Creative Solutions LLC. All rights reserved.