ALL,
I am trying to learn Cocoa programming and am stumbled on the following:
It seems that every resource including SO says that in order to use labels with NSSlider one needs to create those labels as a child of the panel/dialog/Main Window where the actual NSSlider is created.
So that it goes like this:
dialog->NSSlider
|
|----> label
However it means that I will have to manage everything by hand.
Now what I have in mind is to make the labels as children of the NSSlider, so that it will be:
dialog->NSSlider
|
|------>label
Is it a good idea to do it like this? Is it in line with the Cocoa/Apple guidelines? Or I am completely off here ?
If it's a good idea I'd appreciate some code on how to make it work.
Thank you.