Use the same copying technique as NSScrollview

168 Views Asked by At

The NSScrollView copies its document view when it is scrolling. How can I use this same idea of copying a part of my view to paste it later when everything has moved.

1

There are 1 best solutions below

0
On BEST ANSWER

You probably want to create a bitmap image rep for caching purposes and cache to it. You can then either draw it directly or wrap it in an NSImage and draw that.