trying to use cached image as background in NSView

2017-04-03 Thread Patrick J. Collins
Hi everyone, I have a NSView in which I am drawing a waveform from a buffer. This NSView has a child playhead element, that I want to move across the waveform as it plays. The problem is, drawRect: is expensive and anytime the playhead moves, the waveform has to draw itself all over again,

Re: Auto-layout: how do I make the other side "win"?

2017-04-03 Thread Quincey Morris
On Apr 3, 2017, at 08:57 , Daryle Walker wrote: > > When I select the window in the window controller’s scene in the storyboard, > its content size is 800x450. It doesn’t show that way on app run. The view > that’s connected to it, a split-view (top & bottom), is still set to

Re: Auto-layout: how do I make the other side "win"?

2017-04-03 Thread Daryle Walker
> On Apr 1, 2017, at 5:00 PM, Quincey Morris > wrote: > > On Apr 1, 2017, at 12:07 , Daryle Walker > wrote: >> >> I got a feeling that, since the interior of the window and the exterior of >> the view are

disable group of controls

2017-04-03 Thread J.E. Schotsman
Hello, What is the Cocoa way of enabling/disabling a group of controls? In Carbon I used to use a user pane for that. I thought I would try an NSBox but then I realized it is not a control. TIA, Jan E. ___ Cocoa-dev mailing list