On Apr 3, 2017, at 8:54 PM, Patrick J. Collins
wrote:
>
> 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, th
elf setNeedsDisplay:YES];
}
I tried asking this question on Stack Overflow, but it's gotten no love..
http://stackoverflow.com/questions/43177850/trying-to-use-cached-image-as-background-in-nsview
Patrick J. Collins
http://collinatorstudios.com
___
C