Questions tagged [nsslider]

NSSlider object belongs to Apple's class it displays a range of values. NSSlider can be used for volume control, colors selection, brightness adjust, etc.. It has continous and discrete modes.

An NSSlider object displays a range of values for something in the application. Sliders can be vertical or horizontal bars or circular dials. An indicator, or knob, notes the current setting. The user can move the knob in the slider’s bar—or rotate the knob in a circular slider to change the setting.

The NSSlider class uses the NSSliderCell class to implement its user interface.

NSSlider Class Reference.

85 questions
0
votes
1 answer

NSSLider Set Starting Value

I'm trying to get my NSSlider to start at a certain value, and I've been unable to find function to do that in the swift book or other resources. Is there an easy way to do this? Thanks
GregarityNow
  • 707
  • 1
  • 11
  • 25
0
votes
1 answer

How to filter UITableview values using slider?

I'm using custom UITableview cell to display the distance between my current location and few random places in the world. If my current location is Newyork city, then the distance between my current location and India is somewhere around 4000 miles…
Vignesh
  • 170
  • 10
0
votes
1 answer

Control NSNumber with NSSlider

I have an NSSlider, and want it to control an NSNumber in an app which will be created in Xcode5. Tried the code below, which returned no errors, but the slider did not change the NSNumber's value: float sliderValue = ([sender…
0
votes
3 answers

How to create a custom NSSlider with a transparent middle bar and custom knob size

I've searched around for some code on NSSliderCell but I can't find a way to do what I'm looking for. I'd like to create something like this (where the white line is the slider knob, 1 pixel width): I'm going to use this for the time bar of a music…
Pedro Vieira
  • 3,330
  • 3
  • 41
  • 76
0
votes
2 answers

how to move a popover along with slider button

I have a custom slider for volume and I want the current value of the slider to be displayed in a popover what I already have so far, see picture below. Unfortunately at the moment the popover is static in the middle of the slider. Any idea how I…
Ronald Hofmann
  • 1,390
  • 2
  • 15
  • 26
0
votes
1 answer

How can I link and update multiple NSSliders?

I have 3 NSSliders and NSTextFields set with bindings. Each slider represents an NSInteger value, one column is low, one column is medium and one column is high. I've set Low's max to 98, Medium's max to 99, and High's max to 100. The range of…
aroooo
  • 4,726
  • 8
  • 47
  • 81
0
votes
1 answer

How can I get the tag of an NSSliderCell Objective-C

I´m working on a CustomSlider Class. In my project I have three sliders which all have the class CustomSlider. I want these three sliders to have different knobs. See Picture. Since the sliders already have tags I decided to use them for this…
Ronald Hofmann
  • 1,390
  • 2
  • 15
  • 26
0
votes
2 answers

IOS NSSlider set label from array (at index: slider value)

I'd like to have a slider (lets say values from 0 to 4) and an according label which content does NOT display the current slider value BUT an according string. I'm quite new to Objective-C but here is what I tried (...and did not work ;) ) first I…
Robbie
  • 17
  • 1
  • 6
0
votes
1 answer

Extend NSSlider class by appending a NSTextField to it

I want to extend NSSlider class to have an output textfield appended to it. In regards to this I wonder if: my approach of wanting to append a textfield to NSSlider class is completely wrong and against MVC pattern; if it is not wrong how should I…
yacana
  • 144
  • 2
  • 10
-2
votes
1 answer

How to update NSImageView using NSSlider?

I have an NSSlider in FirstViewController. I have 12 NSImageViews in SecondViewController. I'd like to move a slider in first window and shuffle images in these 12 views in second window. How to update these NSImageViews every time when moving the…
Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
1 2 3 4 5
6