Ah! A Boilermaker. Did my MS and PhD there in EE may years ago, before I
went to Bell Labs.
I just suggested a collection view because they are so easy to use when you
need an array of identical views bound to an array of objects via the
represented object. You just create the prototype and let
On 24/02/2013, at 4:59 PM, N!K wrote:
> It seems so simple: create a custom view with one set, duplicate it to make 6
> such custom views, and place them all into another custom view.
Well, you have to consider that NSView does not support NSCopying, though there
are fairly simple ways around
I've been following this thread because I have a similar application in mind,
displaying 6 sets (groupings, not NSSets) consisting of a label with slider and
textview, both bound to an ivar.
It seems so simple: create a custom view with one set, duplicate it to make 6
such custom views, and p
Don¹t use NSMatrix. Use NSCollectionView. I have a popover containing a
collection view with sliders and all kinds of other stuff. Depending on
what you are doing, you may need to make the thing create a new view for
every collection class element instead of just replicating the prototype.
(I ha
Have you tried creating 4 NSSliders next to each other, using an NSSliderCell
subclass that overrides - (void)drawBarInside:(NSRect)aRect
flipped:(BOOL)flipped; to draw nothing? You can set the custom class of a cell
in the XIB, so you won't even have to touch NSSlider.
Cheers,
-- Uli Kusterer
I sometimes find that trying to subclass existing classes such as NSCell is
more trouble that it's worth, unless you really need your custom cell to be
used anywhere a cell can be used, e.g. buttons, matrices, list rows, etc.
If you just want a particular custom control that doesn't need that d
On Feb 15, 2013, at 13:35:38, Steve Mills wrote:
> What's the easiest way to create a custom control that contains a matrix of 4
> custom vertical sliders, like a mini graphic EQ? The sliders will not draw
> the slot, only the knob. First I started with a subclass of NSMatrix and a
> subclass
What's the easiest way to create a custom control that contains a matrix of 4
custom vertical sliders, like a mini graphic EQ? The sliders will not draw the
slot, only the knob. First I started with a subclass of NSMatrix and a subclass
of NSCell. No matter what I've tried, the cells always end